diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-01-18 16:38:57 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-01-18 16:38:57 +0100 |
commit | 9eb912d1aa6b8106e06a73ea6702ec3dab0d6a1a (patch) | |
tree | ed563ea82e5190894806c62d87a769400b08375a /arch/x86/xen | |
parent | x86-64: Move irq stats from PDA to per-cpu and consolidate with 32-bit. (diff) | |
download | linux-9eb912d1aa6b8106e06a73ea6702ec3dab0d6a1a.tar.xz linux-9eb912d1aa6b8106e06a73ea6702ec3dab0d6a1a.zip |
x86-64: Move TLB state from PDA to per-cpu and consolidate with 32-bit.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/mmu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 7bc7852cc5c4..98cb9869eb24 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -1063,11 +1063,7 @@ static void drop_other_mm_ref(void *info) struct mm_struct *mm = info; struct mm_struct *active_mm; -#ifdef CONFIG_X86_64 - active_mm = read_pda(active_mm); -#else - active_mm = __get_cpu_var(cpu_tlbstate).active_mm; -#endif + active_mm = percpu_read(cpu_tlbstate.active_mm); if (active_mm == mm) leave_mm(smp_processor_id()); |