Skip to content

Commit

Permalink
x86: move __VMALLOC_RESERVE to pgtable_32.c
Browse files Browse the repository at this point in the history
Impact: cleanup

The __VMALLOC_RESERVE global variable is not used in init_32.c. Move that to
pgtable_32.c to reduce the diff between init_32.c and init_64.c.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1236077704.2675.4.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Mar 3, 2009
1 parent f180053 commit 2b688df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
#include <asm/setup.h>
#include <asm/cacheflush.h>

unsigned int __VMALLOC_RESERVE = 128 << 20;

unsigned long max_low_pfn_mapped;
unsigned long max_pfn_mapped;

Expand Down
2 changes: 2 additions & 0 deletions arch/x86/mm/pgtable_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include <asm/tlb.h>
#include <asm/tlbflush.h>

unsigned int __VMALLOC_RESERVE = 128 << 20;

/*
* Associate a virtual page frame with a given physical page frame
* and protection flags for that frame.
Expand Down

0 comments on commit 2b688df

Please sign in to comment.