Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
arch/sh/include/cpu-sh3/cpu/mmu_context.h
··· 16 16 #define MMU_TEA 0xFFFFFFFC /* TLB Exception Address */ 17 17 18 18 #define MMUCR 0xFFFFFFE0 /* MMU Control Register */ 19 + #define MMUCR_TI (1 << 2) /* TLB flush bit */ 19 20 20 21 #define MMU_TLB_ADDRESS_ARRAY 0xF2000000 21 22 #define MMU_PAGE_ASSOC_BIT 0x80