From: Eugene Konev Date: Sat, 8 Sep 2007 09:16:30 +0000 (+0000) Subject: Use PHYS_OFFSET. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=538479305e8855715899fb56f954b4f41fd35063;p=openwrt%2Fstaging%2Frobimarko.git Use PHYS_OFFSET. SVN-Revision: 8685 --- diff --git a/target/linux/ar7/files/arch/mips/ar7/memory.c b/target/linux/ar7/files/arch/mips/ar7/memory.c index 99faf217b7..4c930c08c9 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)