hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/sh/include/asm/barrier.h
....@@ -6,7 +6,7 @@
66 #ifndef __ASM_SH_BARRIER_H
77 #define __ASM_SH_BARRIER_H
88
9
-#if defined(CONFIG_CPU_SH4A) || defined(CONFIG_CPU_SH5)
9
+#if defined(CONFIG_CPU_SH4A)
1010 #include <asm/cache_insns.h>
1111 #endif
1212
....@@ -24,7 +24,7 @@
2424 * Historically we have only done this type of barrier for the MMUCR, but
2525 * it's also necessary for the CCR, so we make it generic here instead.
2626 */
27
-#if defined(CONFIG_CPU_SH4A) || defined(CONFIG_CPU_SH5)
27
+#if defined(CONFIG_CPU_SH4A)
2828 #define mb() __asm__ __volatile__ ("synco": : :"memory")
2929 #define rmb() mb()
3030 #define wmb() mb()