diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-09-08 09:16:30 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-09-08 09:16:30 +0000 |
commit | 538479305e8855715899fb56f954b4f41fd35063 (patch) | |
tree | 06b07a484ad4200017428687e4ba3be96abdeac1 /target/linux/ar7/files | |
parent | 3520251c215a6b52426f584184ca3850ca600f5b (diff) | |
download | mtk-20170518-538479305e8855715899fb56f954b4f41fd35063.zip mtk-20170518-538479305e8855715899fb56f954b4f41fd35063.tar.gz mtk-20170518-538479305e8855715899fb56f954b4f41fd35063.tar.bz2 |
Use PHYS_OFFSET.
SVN-Revision: 8685
Diffstat (limited to 'target/linux/ar7/files')
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/memory.c | 4 |
1 files 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 99faf21..4c930c0 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) |