diff mbox

[to,v2.6.33] sh: Fix cannot booting zImage using CONFIG_PMB_FIXED

Message ID 29ab51dc1002150037i60fb846dt60a739cfddb39d08@mail.gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Nobuhiro Iwamatsu Feb. 15, 2010, 8:37 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c
index d509a50..5ff6dfc 100644
--- a/arch/sh/boot/compressed/misc.c
+++ b/arch/sh/boot/compressed/misc.c
@@ -117,7 +117,7 @@  void decompress_kernel(void)
 	output_addr = (CONFIG_MEMORY_START + 0x2000);
 #else
 	output_addr = __pa((unsigned long)&_text+PAGE_SIZE);
-#ifdef CONFIG_29BIT
+#if defined(CONFIG_29BIT) || defined(CONFIG_PMB_FIXED)
 	output_addr |= P2SEG;
 #endif
 #endif