summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/addrspace.h')
-rw-r--r--include/asm-sh/addrspace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sh/addrspace.h b/include/asm-sh/addrspace.h
index 4207368267b..b860218e402 100644
--- a/include/asm-sh/addrspace.h
+++ b/include/asm-sh/addrspace.h
@@ -14,7 +14,7 @@
#include <asm/cpu/addrspace.h>
/* Memory segments (32bit Privileged mode addresses) */
-#ifdef CONFIG_MMU
+#ifndef CONFIG_CPU_SH2A
#define P0SEG 0x00000000
#define P1SEG 0x80000000
#define P2SEG 0xa0000000
@@ -24,7 +24,7 @@
#define P0SEG 0x00000000
#define P1SEG 0x00000000
#define P2SEG 0x20000000
-#define P3SEG 0x40000000
+#define P3SEG 0x00000000
#define P4SEG 0x80000000
#endif