Skip to content

Commit

Permalink
x86: move per-cpu mmu_gathers to mm/init.c
Browse files Browse the repository at this point in the history
[ 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>
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Apr 30, 2009
1 parent 2b72394 commit 9518e0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions arch/x86/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include <asm/sections.h>
#include <asm/system.h>
#include <asm/tlbflush.h>
#include <asm/tlb.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

unsigned long __initdata e820_table_start;
unsigned long __meminitdata e820_table_end;
Expand Down
1 change: 0 additions & 1 deletion arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
#include <asm/page_types.h>
#include <asm/init.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
unsigned long highstart_pfn, highend_pfn;

static noinline int do_test_wp_bit(void);
Expand Down
2 changes: 0 additions & 2 deletions arch/x86/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@

static unsigned long dma_reserve __initdata;

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

static int __init parse_direct_gbpages_off(char *arg)
{
direct_gbpages = 0;
Expand Down

0 comments on commit 9518e0e

Please sign in to comment.