summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/tlb_hash64.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2009-07-24 01:15:45 +0200
committerBenjamin Herrenschmidt2009-08-20 02:25:09 +0200
commita8f7758c1c52a13e031266483efd5525157e43e9 (patch)
treed2b58130580e5c904b5fdf22f9b27388f93ed913 /arch/powerpc/mm/tlb_hash64.c
parentpowerpc: Add PACA fields specific to 64-bit Book3E processors (diff)
downloadkernel-qcow2-linux-a8f7758c1c52a13e031266483efd5525157e43e9.tar.gz
kernel-qcow2-linux-a8f7758c1c52a13e031266483efd5525157e43e9.tar.xz
kernel-qcow2-linux-a8f7758c1c52a13e031266483efd5525157e43e9.zip
powerpc/mm: Move around mmu_gathers definition on 64-bit
The definition for the global structure mmu_gathers, used by generic code, is currently defined in multiple places not including anything used by 64-bit Book3E. This changes it by moving to one place common to all processors. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/tlb_hash64.c')
-rw-r--r--arch/powerpc/mm/tlb_hash64.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/mm/tlb_hash64.c b/arch/powerpc/mm/tlb_hash64.c
index 8e35a6066938..2b2f35f6985e 100644
--- a/arch/powerpc/mm/tlb_hash64.c
+++ b/arch/powerpc/mm/tlb_hash64.c
@@ -33,11 +33,6 @@
DEFINE_PER_CPU(struct ppc64_tlb_batch, ppc64_tlb_batch);
-/* This is declared as we are using the more or less generic
- * arch/powerpc/include/asm/tlb.h file -- tgall
- */
-DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
-
/*
* A linux PTE was changed and the corresponding hash table entry
* neesd to be flushed. This function will either perform the flush