diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-11-04 06:32:24 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-04 06:32:24 +0300 |
commit | e2fcf74f3d3dabe8591732cd37869a0cc88ed7a5 (patch) | |
tree | ccc1efdfffdf6b9ca427f46bb135faaa44e00dd4 /arch/sh/include | |
parent | e96ce8ebfd7427c7ce335028f6619fb549f366b2 (diff) | |
download | linux-e2fcf74f3d3dabe8591732cd37869a0cc88ed7a5.tar.xz |
sh: nommu: use 32-bit phys mode.
The nommu code has regressed somewhat in that 29BIT gets set for the
SH-2/2A configs regardless of the fact that they are really 32BIT sans
MMU or PMB. This does a bit of tidying to get nommu properly selecting
32BIT as it was before.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/addrspace.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/include/asm/addrspace.h b/arch/sh/include/asm/addrspace.h index 446b3831c214..3d1ae2bfaa6f 100644 --- a/arch/sh/include/asm/addrspace.h +++ b/arch/sh/include/asm/addrspace.h @@ -44,10 +44,10 @@ /* * These will never work in 32-bit, don't even bother. */ -#define P1SEGADDR(a) __futile_remapping_attempt -#define P2SEGADDR(a) __futile_remapping_attempt -#define P3SEGADDR(a) __futile_remapping_attempt -#define P4SEGADDR(a) __futile_remapping_attempt +#define P1SEGADDR(a) ({ (void)(a); BUG(); NULL; }) +#define P2SEGADDR(a) ({ (void)(a); BUG(); NULL; }) +#define P3SEGADDR(a) ({ (void)(a); BUG(); NULL; }) +#define P4SEGADDR(a) ({ (void)(a); BUG(); NULL; }) #endif #endif /* P1SEG */ |