mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
sparc64: Fix initrd regression.
We die because we forget to convert initrd_start and initrd_end to virtual addresses. Reported by Mikael Pettersson Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3eb6753e20
commit
d45100f7b6
1 changed files with 3 additions and 0 deletions
|
@ -771,6 +771,9 @@ static void __init find_ramdisk(unsigned long phys_base)
|
|||
initrd_end = ramdisk_image + sparc_ramdisk_size;
|
||||
|
||||
lmb_reserve(initrd_start, initrd_end);
|
||||
|
||||
initrd_start += PAGE_OFFSET;
|
||||
initrd_end += PAGE_OFFSET;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue