x86: move __VMALLOC_RESERVE to pgtable_32.c
authorPekka Enberg <penberg@cs.helsinki.fi>
Tue, 3 Mar 2009 10:55:04 +0000 (12:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Mar 2009 11:06:59 +0000 (12:06 +0100)
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>
arch/x86/mm/init_32.c
arch/x86/mm/pgtable_32.c

index 06708ee94aa407d1e773afee5b1e1abc102b6635..5b06a2f5deae8c244458eb6ea7dbd496104e6d6a 100644 (file)
@@ -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;
 
index 0951db9ee5190b351a843a71a755109a6fd1586e..e4032c886c39eb5ce5d33c9678fe8d3f0c607629 100644 (file)
@@ -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.