aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-03-05 07:55:08 -0500
committerIngo Molnar <mingo@elte.hu>2009-03-05 08:17:18 -0500
commit4fcb208391be5cf82c6fe2779c5eb9245ac97e91 (patch)
treeda326e0c21e6d32c9cda6c18a74793e65666b3f0 /arch/x86/mm/init_64.c
parente53fb04fce6d246ebed755b904ed1b0b814a754c (diff)
x86: move function and variable declarations to asm/init.h
Impact: cleanup Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <1236257708-27269-17-git-send-email-penberg@cs.helsinki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index f441ae316312..7dd7ce49d69b 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -48,6 +48,7 @@
48#include <asm/kdebug.h> 48#include <asm/kdebug.h>
49#include <asm/numa.h> 49#include <asm/numa.h>
50#include <asm/cacheflush.h> 50#include <asm/cacheflush.h>
51#include <asm/init.h>
51 52
52/* 53/*
53 * end_pfn only includes RAM, while max_pfn_mapped includes all e820 entries. 54 * end_pfn only includes RAM, while max_pfn_mapped includes all e820 entries.
@@ -283,10 +284,6 @@ void __init cleanup_highmap(void)
283 } 284 }
284} 285}
285 286
286extern unsigned long __initdata e820_table_start;
287extern unsigned long __meminitdata e820_table_end;
288extern unsigned long __meminitdata e820_table_top;
289
290static __ref void *alloc_low_page(unsigned long *phys) 287static __ref void *alloc_low_page(unsigned long *phys)
291{ 288{
292 unsigned long pfn = e820_table_end++; 289 unsigned long pfn = e820_table_end++;