Use PHYS_OFFSET.
SVN-Revision: 8685
This commit is contained in:
parent
3520251c21
commit
538479305e
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue