From 958e46acc8e900e8569dd467c1af9b8d2d019394 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 08:38:54 +0000
Subject: [PATCH] disable cpu isolcpus
---
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