summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/head_32.S
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-10-06 21:22:26 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-10-10 21:51:23 +0900
commitb336f124b1cca55c28b2c5df0e02aa5ace5be7d4 (patch)
tree9e592c60774b96e8a0ee916f11d1b854154d60d4 /arch/sh/kernel/head_32.S
parent1f69b6af9171f50135cce8023c84d82fbf42a8f5 (diff)
downloadblackbird-op-linux-b336f124b1cca55c28b2c5df0e02aa5ace5be7d4.tar.gz
blackbird-op-linux-b336f124b1cca55c28b2c5df0e02aa5ace5be7d4.zip
sh: CONFIG_PMB doesn't mean the MMU is in 32bit mode
CONFIG_PMB will eventually allow the MMU to be switched between 29-bit and 32-bit mode dynamically at runtime. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/head_32.S')
-rw-r--r--arch/sh/kernel/head_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S
index a78be74b8d3e..1151ecdffa71 100644
--- a/arch/sh/kernel/head_32.S
+++ b/arch/sh/kernel/head_32.S
@@ -33,7 +33,7 @@ ENTRY(empty_zero_page)
.long 1 /* LOADER_TYPE */
.long 0x00000000 /* INITRD_START */
.long 0x00000000 /* INITRD_SIZE */
-#ifdef CONFIG_32BIT
+#if defined(CONFIG_32BIT) && defined(CONFIG_PMB_FIXED)
.long 0x53453f00 + 32 /* "SE?" = 32 bit */
#else
.long 0x53453f00 + 29 /* "SE?" = 29 bit */
OpenPOWER on IntegriCloud