aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-04-28 09:00:50 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-30 04:12:37 -0400
commit9518e0e4350a5ea8ca200ce320b28d6284a7b0ce (patch)
tree0c2118e07cc98cb5f385f826319d5e596c86091f /arch/x86/mm
parent2b72394e4089643f11669d9610907a1442fe044a (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.c3
-rw-r--r--arch/x86/mm/init_32.c1
-rw-r--r--arch/x86/mm/init_64.c2
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
14DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
12 15
13unsigned long __initdata e820_table_start; 16unsigned long __initdata e820_table_start;
14unsigned long __meminitdata e820_table_end; 17unsigned 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
55DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
56unsigned long highstart_pfn, highend_pfn; 55unsigned long highstart_pfn, highend_pfn;
57 56
58static noinline int do_test_wp_bit(void); 57static 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
53static unsigned long dma_reserve __initdata; 53static unsigned long dma_reserve __initdata;
54 54
55DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
56
57static int __init parse_direct_gbpages_off(char *arg) 55static int __init parse_direct_gbpages_off(char *arg)
58{ 56{
59 direct_gbpages = 0; 57 direct_gbpages = 0;