diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2006-09-27 04:25:07 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:25:07 -0400 |
commit | a2d1a5fae6296c2a3ac1aaa982c95464c46c0585 (patch) | |
tree | fa704906d368f6ab0f03b164d5071992a4029a9a /include/asm-sh/addrspace.h | |
parent | 0b8929354cdeddb17e81bfda903812c9adfd0b67 (diff) |
sh: __addr_ok() and other misc nommu fixups.
A few more outstanding nommu fixups..
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/addrspace.h')
-rw-r--r-- | include/asm-sh/addrspace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sh/addrspace.h b/include/asm-sh/addrspace.h index 4207368267b1..b860218e402e 100644 --- a/include/asm-sh/addrspace.h +++ b/include/asm-sh/addrspace.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <asm/cpu/addrspace.h> | 14 | #include <asm/cpu/addrspace.h> |
15 | 15 | ||
16 | /* Memory segments (32bit Privileged mode addresses) */ | 16 | /* Memory segments (32bit Privileged mode addresses) */ |
17 | #ifdef CONFIG_MMU | 17 | #ifndef CONFIG_CPU_SH2A |
18 | #define P0SEG 0x00000000 | 18 | #define P0SEG 0x00000000 |
19 | #define P1SEG 0x80000000 | 19 | #define P1SEG 0x80000000 |
20 | #define P2SEG 0xa0000000 | 20 | #define P2SEG 0xa0000000 |
@@ -24,7 +24,7 @@ | |||
24 | #define P0SEG 0x00000000 | 24 | #define P0SEG 0x00000000 |
25 | #define P1SEG 0x00000000 | 25 | #define P1SEG 0x00000000 |
26 | #define P2SEG 0x20000000 | 26 | #define P2SEG 0x20000000 |
27 | #define P3SEG 0x40000000 | 27 | #define P3SEG 0x00000000 |
28 | #define P4SEG 0x80000000 | 28 | #define P4SEG 0x80000000 |
29 | #endif | 29 | #endif |
30 | 30 | ||