mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:13:01 +02:00
Use PHYS_OFFSET.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8685 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6eff87f648
commit
9fab1ed49b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user