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:
59f0029
)
sh64: Don't use PHYSADDR() for output_addr calculation.
author
Paul Mundt
<lethal@linux-sh.org>
Sat, 11 Jul 2009 17:36:25 +0000
(13:36 -0400)
committer
Paul Mundt
<lethal@linux-sh.org>
Sat, 11 Jul 2009 17:36:25 +0000
(13:36 -0400)
Opencode the MEMORY_START offset directly, sh64 uses a slightly different
calculation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boot/compressed/misc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/boot/compressed/misc.c
b/arch/sh/boot/compressed/misc.c
index 4eb27e61f8e323cf235c8ad211a751287546a4b1..fd56a71ca9d9bbf47c3080d2473f2d4ad2ac0478 100644
(file)
--- a/
arch/sh/boot/compressed/misc.c
+++ b/
arch/sh/boot/compressed/misc.c
@@
-128,9
+128,13
@@
void decompress_kernel(void)
{
unsigned long output_addr;
+#ifdef CONFIG_SUPERH64
+ output_addr = (CONFIG_MEMORY_START + 0x2000);
+#else
output_addr = PHYSADDR((unsigned long)&_text+PAGE_SIZE);
#ifdef CONFIG_29BIT
output_addr |= P2SEG;
+#endif
#endif
output = (unsigned char *)output_addr;