diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-04-28 09:00:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-30 04:12:37 -0400 |
commit | 9518e0e4350a5ea8ca200ce320b28d6284a7b0ce (patch) | |
tree | 0c2118e07cc98cb5f385f826319d5e596c86091f /arch/x86/mm | |
parent | 2b72394e4089643f11669d9610907a1442fe044a (diff) |
x86: move per-cpu mmu_gathers to mm/init.c
[ Impact: cleanup ]
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1240923650.1982.22.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/init.c | 3 | ||||
-rw-r--r-- | arch/x86/mm/init_32.c | 1 | ||||
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index fedde5359a04..4d67c33a2e16 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c | |||
@@ -9,6 +9,9 @@ | |||
9 | #include <asm/sections.h> | 9 | #include <asm/sections.h> |
10 | #include <asm/system.h> | 10 | #include <asm/system.h> |
11 | #include <asm/tlbflush.h> | 11 | #include <asm/tlbflush.h> |
12 | #include <asm/tlb.h> | ||
13 | |||
14 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | ||
12 | 15 | ||
13 | unsigned long __initdata e820_table_start; | 16 | unsigned long __initdata e820_table_start; |
14 | unsigned long __meminitdata e820_table_end; | 17 | unsigned long __meminitdata e820_table_end; |
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index a640a7f04905..fef1d90d4f15 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -52,7 +52,6 @@ | |||
52 | #include <asm/page_types.h> | 52 | #include <asm/page_types.h> |
53 | #include <asm/init.h> | 53 | #include <asm/init.h> |
54 | 54 | ||
55 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | ||
56 | unsigned long highstart_pfn, highend_pfn; | 55 | unsigned long highstart_pfn, highend_pfn; |
57 | 56 | ||
58 | static noinline int do_test_wp_bit(void); | 57 | static noinline int do_test_wp_bit(void); |
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 1016ea015932..6a1a573e20f9 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -52,8 +52,6 @@ | |||
52 | 52 | ||
53 | static unsigned long dma_reserve __initdata; | 53 | static unsigned long dma_reserve __initdata; |
54 | 54 | ||
55 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | ||
56 | |||
57 | static int __init parse_direct_gbpages_off(char *arg) | 55 | static int __init parse_direct_gbpages_off(char *arg) |
58 | { | 56 | { |
59 | direct_gbpages = 0; | 57 | direct_gbpages = 0; |