瀏覽代碼

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>
Paul Mundt 14 年之前
父節點
當前提交
06c7a489a9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/sh/include/cpu-sh3/cpu/mmu_context.h

+ 1 - 0
arch/sh/include/cpu-sh3/cpu/mmu_context.h

@@ -16,6 +16,7 @@
 #define MMU_TEA		0xFFFFFFFC	/* TLB Exception Address */
 #define MMU_TEA		0xFFFFFFFC	/* TLB Exception Address */
 
 
 #define MMUCR		0xFFFFFFE0	/* MMU Control Register */
 #define MMUCR		0xFFFFFFE0	/* MMU Control Register */
+#define MMUCR_TI	(1 << 2)	/* TLB flush bit */
 
 
 #define MMU_TLB_ADDRESS_ARRAY	0xF2000000
 #define MMU_TLB_ADDRESS_ARRAY	0xF2000000
 #define MMU_PAGE_ASSOC_BIT	0x80
 #define MMU_PAGE_ASSOC_BIT	0x80