From d62db5a62f2c64afcea40392555a2348b7de3074 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Sun, 28 Sep 2003 19:59:36 -0700 Subject: [PATCH] [PATCH] Sun-3 bootmem Sun-3: Use init_bootmem_node() instead of init_bootmem() for Sun-3, to avoid setting min/max_low_pfn in init_bootmem(). This was screwing up SCSI, and the new method is more like m68k/motorola. (from Sam Creasey) --- arch/m68k/sun3/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/sun3/config.c b/arch/m68k/sun3/config.c index 2750c674d730f..8de071a3d5a98 100644 --- a/arch/m68k/sun3/config.c +++ b/arch/m68k/sun3/config.c @@ -129,7 +129,7 @@ void __init sun3_bootmem_alloc(unsigned long memory_start, unsigned long memory_ high_memory = (void *)memory_end; availmem = memory_start; - availmem += init_bootmem(start_page, num_pages); + availmem += init_bootmem_node(NODE_DATA(0), start_page, 0, num_pages); availmem = (availmem + (PAGE_SIZE-1)) & PAGE_MASK; free_bootmem(__pa(availmem), memory_end - (availmem)); -- 2.53.0