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/cache.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/kernel/arch/sh/include/asm/cache.h b/kernel/arch/sh/include/asm/cache.h
index 2408ac4..32dfa6b 100644
--- a/kernel/arch/sh/include/asm/cache.h
+++ b/kernel/arch/sh/include/asm/cache.h
@@ -8,14 +8,13 @@
*/
#ifndef __ASM_SH_CACHE_H
#define __ASM_SH_CACHE_H
-#ifdef __KERNEL__
#include <linux/init.h>
#include <cpu/cache.h>
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
-#define __read_mostly __attribute__((__section__(".data..read_mostly")))
+#define __read_mostly __section(".data..read_mostly")
#ifndef __ASSEMBLY__
struct cache_info {
@@ -44,5 +43,4 @@
unsigned long flags;
};
#endif /* __ASSEMBLY__ */
-#endif /* __KERNEL__ */
#endif /* __ASM_SH_CACHE_H */
--
Gitblit v1.6.2