diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-06 19:57:39 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-06 19:57:39 +0200 |
commit | 06c7a489a97fce99fd86611f6f32e565e686e5d8 (patch) | |
tree | f5a0afe6de1e7ae87072d120397583ab6d9bfa99 /arch | |
parent | sh: Fix address calculation of Initrd (diff) | |
download | linux-06c7a489a97fce99fd86611f6f32e565e686e5d8.tar.xz linux-06c7a489a97fce99fd86611f6f32e565e686e5d8.zip |
sh: Fix up the SH-3 build.
SH-3 lacks an MMUCR_TI definition for global TLB flushes. As SH-3 parts
lack a split TLB, the same global flush behaviour is accomplished
through the flush bit, which just happens to be the same as on SH-4.
This fixes up the build for all SH-3 MMU parts.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/include/cpu-sh3/cpu/mmu_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh3/cpu/mmu_context.h b/arch/sh/include/cpu-sh3/cpu/mmu_context.h index ab09da73ce77..0c7c735ea82a 100644 --- a/arch/sh/include/cpu-sh3/cpu/mmu_context.h +++ b/arch/sh/include/cpu-sh3/cpu/mmu_context.h @@ -16,6 +16,7 @@ #define MMU_TEA 0xFFFFFFFC /* TLB Exception Address */ #define MMUCR 0xFFFFFFE0 /* MMU Control Register */ +#define MMUCR_TI (1 << 2) /* TLB flush bit */ #define MMU_TLB_ADDRESS_ARRAY 0xF2000000 #define MMU_PAGE_ASSOC_BIT 0x80 |