From 9fab1ed49bd95babc40c28635b898281c910091f Mon Sep 17 00:00:00 2001 From: ejka Date: Sat, 8 Sep 2007 09:16:30 +0000 Subject: [PATCH] Use PHYS_OFFSET. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8685 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7/files/arch/mips/ar7/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar7/files/arch/mips/ar7/memory.c b/target/linux/ar7/files/arch/mips/ar7/memory.c index 99faf217b..4c930c08c 100644 --- a/target/linux/ar7/files/arch/mips/ar7/memory.c +++ b/target/linux/ar7/files/arch/mips/ar7/memory.c @@ -65,8 +65,8 @@ void __init prom_meminit(void) unsigned long pages; pages = memsize() >> PAGE_SHIFT; - add_memory_region(ARCH_PFN_OFFSET << PAGE_SHIFT, pages << - PAGE_SHIFT, BOOT_MEM_RAM); + add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT, + BOOT_MEM_RAM); } void __init prom_free_prom_memory(void) -- 2.20.1