aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson/common/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson/common/init.c')
-rw-r--r--arch/mips/loongson/common/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/loongson/common/init.c b/arch/mips/loongson/common/init.c
index f37fe5413b73..f6af3aba4c86 100644
--- a/arch/mips/loongson/common/init.c
+++ b/arch/mips/loongson/common/init.c
@@ -30,7 +30,11 @@ void __init prom_init(void)
30 set_io_port_base((unsigned long) 30 set_io_port_base((unsigned long)
31 ioremap(LOONGSON_PCIIO_BASE, LOONGSON_PCIIO_SIZE)); 31 ioremap(LOONGSON_PCIIO_BASE, LOONGSON_PCIIO_SIZE));
32 32
33#ifdef CONFIG_NUMA
34 prom_init_numa_memory();
35#else
33 prom_init_memory(); 36 prom_init_memory();
37#endif
34 38
35 /*init the uart base address */ 39 /*init the uart base address */
36 prom_init_uart_base(); 40 prom_init_uart_base();