projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3520251
)
Use PHYS_OFFSET.
author
Eugene Konev
<ejka@imfi.kspu.ru>
Sat, 8 Sep 2007 09:16:30 +0000
(09:16 +0000)
committer
Eugene Konev
<ejka@imfi.kspu.ru>
Sat, 8 Sep 2007 09:16:30 +0000
(09:16 +0000)
SVN-Revision: 8685
target/linux/ar7/files/arch/mips/ar7/memory.c
patch
|
blob
|
history
diff --git
a/target/linux/ar7/files/arch/mips/ar7/memory.c
b/target/linux/ar7/files/arch/mips/ar7/memory.c
index 99faf217b7d60bd0aee72ce43c9196910010a56b..4c930c08c96b68f1cfc558f2b23f4e43285be7bb 100644
(file)
--- 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)