From: Nobuhiro Iwamatsu Date: Mon, 15 Feb 2010 08:37:50 +0000 (+0000) Subject: sh: Fix zImage boot using fixed PMB. X-Git-Tag: v2.6.34-rc1~285^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=319c2cc761505ee54a9536c5d0b9c2ee3fb33866;p=thirdparty%2Flinux.git sh: Fix zImage boot using fixed PMB. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Yoshihiro Shimoda Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index d509a50506235..9ba07927d16a5 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_LEGACY) output_addr |= P2SEG; #endif #endif