x86: move __VMALLOC_RESERVE to pgtable_32.c
PATCH 1/2 x86: move __VMALLOC_RESERVE to pgtable_32.c
From: Pekka Enberg <[email protected]>
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 <[email protected]>
--- arch/x86/mm/init_32.c | 2 -- arch/x86/mm/pgtable_32.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/init_32.c +0 -2
@@ -51,8 +51,6 @@#include <asm/cacheflush.h> #include <asm/smp.h> -unsigned int __VMALLOC_RESERVE =128 <<20 ; -unsigned long max_low_pfn_mapped;unsigned long max_pfn_mapped;
arch/x86/mm/pgtable_32.c +2 -0
@@ -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.
Signature · 1 line
1.5.4.3
Commit-ID: 2b688dfd0a93cf3b17c38feef693361da47b0606 Gitweb: http://git.kernel.org/tip/2b688dfd0a93cf3b17c38feef693361da47b0606 Author: "Pekka Enberg" <[email protected]> AuthorDate: Tue, 3 Mar 2009 12:55:04 +0200 Commit: Ingo Molnar <[email protected]> CommitDate: Tue, 3 Mar 2009 12:06:59 +0100
x86: move __VMALLOC_RESERVE to pgtable_32.c
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 <[email protected]>
LKML-Reference: <1236077704.2675.4.camel@penberg-laptop>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/mm/init_32.c | 2 -- arch/x86/mm/pgtable_32.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/init_32.c +0 -2
@@ -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;
arch/x86/mm/pgtable_32.c +2 -0
@@ -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.