summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/discontig_32.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-22 02:45:39 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-08 12:50:15 +0200
commitb2ac82a0909aea0d2620ba4c189f37c567c21fe5 (patch)
tree97331aa19837b20542b387bd7d8f1f01c472ee37 /arch/x86/mm/discontig_32.c
parent1f75d7e32ed47b2ab8570771a2ce8c707a7225a2 (diff)
x86: introduce initmem_init for 32 bit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/discontig_32.c')
-rw-r--r--arch/x86/mm/discontig_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c
index a2f73ba42b8..3e75be46c4f 100644
--- a/arch/x86/mm/discontig_32.c
+++ b/arch/x86/mm/discontig_32.c
@@ -309,8 +309,8 @@ static void init_remap_allocator(int nid)
(ulong) node_remap_end_vaddr[nid]);
}
-extern void setup_bootmem_allocator(void);
-unsigned long __init setup_memory(void)
+unsigned long __init initmem_init(unsigned long start_pfn,
+ unsigned long end_pfn)
{
int nid;
unsigned long system_start_pfn, system_max_low_pfn;