From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 02:46:07 +0000
Subject: [PATCH] add audio

---
 kernel/arch/sh/include/asm/mmu_context.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/kernel/arch/sh/include/asm/mmu_context.h b/kernel/arch/sh/include/asm/mmu_context.h
index 2d09650..f664e51 100644
--- a/kernel/arch/sh/include/asm/mmu_context.h
+++ b/kernel/arch/sh/include/asm/mmu_context.h
@@ -8,7 +8,6 @@
 #ifndef __ASM_SH_MMU_CONTEXT_H
 #define __ASM_SH_MMU_CONTEXT_H
 
-#ifdef __KERNEL__
 #include <cpu/mmu_context.h>
 #include <asm/tlbflush.h>
 #include <linux/uaccess.h>
@@ -48,11 +47,7 @@
  */
 #define MMU_VPN_MASK	0xfffff000
 
-#if defined(CONFIG_SUPERH32)
 #include <asm/mmu_context_32.h>
-#else
-#include <asm/mmu_context_64.h>
-#endif
 
 /*
  * Get MMU context if needed.
@@ -73,14 +68,6 @@
 		 * Flush all TLB and start new cycle.
 		 */
 		local_flush_tlb_all();
-
-#ifdef CONFIG_SUPERH64
-		/*
-		 * The SH-5 cache uses the ASIDs, requiring both the I and D
-		 * cache to be flushed when the ASID is exhausted. Weak.
-		 */
-		flush_cache_all();
-#endif
 
 		/*
 		 * Fix version; Note that we avoid version #0
@@ -189,5 +176,4 @@
 #define disable_mmu()	do { } while (0)
 #endif
 
-#endif /* __KERNEL__ */
 #endif /* __ASM_SH_MMU_CONTEXT_H */

--
Gitblit v1.6.2