projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb6753
)
sparc64: Fix initrd regression.
author
David S. Miller
<davem@davemloft.net>
Tue, 6 May 2008 22:19:54 +0000
(15:19 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 May 2008 22:19:54 +0000
(15:19 -0700)
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>
arch/sparc64/mm/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc64/mm/init.c
b/arch/sparc64/mm/init.c
index db8e7fb5a3b993d9db844fc6c56b5a7f3a3b549c..ec3e2c72302a78a66c5da100c892f4328117a7e3 100644
(file)
--- a/
arch/sparc64/mm/init.c
+++ b/
arch/sparc64/mm/init.c
@@
-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
}