diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-11-04 12:46:19 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-04 12:46:19 +0900 |
commit | edc9a958fd31ef1d89f9eaee82b2a3882c8e34c9 (patch) | |
tree | bdc96edeb6a41ab72ae87daf46d3402aba633541 /arch/sh/include/asm/system_64.h | |
parent | e2fcf74f3d3dabe8591732cd37869a0cc88ed7a5 (diff) | |
download | op-kernel-dev-edc9a958fd31ef1d89f9eaee82b2a3882c8e34c9.zip op-kernel-dev-edc9a958fd31ef1d89f9eaee82b2a3882c8e34c9.tar.gz |
sh: nommu: Support building without an uncached mapping.
Now that nommu selects 32BIT we run in to the situation where SH-2A
supports an uncached identity mapping by way of the BSC, while the SH-2
does not. This provides stubs for the PC manglers and tidies up some of
the system*.h mess in the process.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/system_64.h')
-rw-r--r-- | arch/sh/include/asm/system_64.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/asm/system_64.h b/arch/sh/include/asm/system_64.h index 3633864..8593bc8d 100644 --- a/arch/sh/include/asm/system_64.h +++ b/arch/sh/include/asm/system_64.h @@ -34,9 +34,6 @@ do { \ &next->thread); \ } while (0) -#define jump_to_uncached() do { } while (0) -#define back_to_cached() do { } while (0) - #define __icbi(addr) __asm__ __volatile__ ( "icbi %0, 0\n\t" : : "r" (addr)) #define __ocbp(addr) __asm__ __volatile__ ( "ocbp %0, 0\n\t" : : "r" (addr)) #define __ocbi(addr) __asm__ __volatile__ ( "ocbi %0, 0\n\t" : : "r" (addr)) |