From 23fa18eaa71266feff7ba8d83022d9e1cc83c65a Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:42:03 +0000
Subject: [PATCH] disable pwm7

---
 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