kernel/arch/mips/txx9/jmr3927/prom.c
.. .. @@ -37,7 +37,7 @@ 37 37 */ 38 38 #include <linux/init.h> 39 39 #include <linux/kernel.h> 40 -#include <asm/bootinfo.h>40 +#include <linux/memblock.h>41 41 #include <asm/txx9/generic.h> 42 42 #include <asm/txx9/jmr3927.h> 43 43 .. .. @@ -47,6 +47,6 @@ 47 47 if ((tx3927_ccfgptr->ccfg & TX3927_CCFG_TLBOFF) == 0) 48 48 pr_err("TX3927 TLB off\n"); 49 49 50 - add_memory_region(0, JMR3927_SDRAM_SIZE, BOOT_MEM_RAM);50 + memblock_add(0, JMR3927_SDRAM_SIZE);51 51 txx9_sio_putchar_init(TX3927_SIO_REG(1)); 52 52 }