hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/arch/mips/lib/mips-atomic.c
....@@ -15,7 +15,7 @@
1515 #include <linux/export.h>
1616 #include <linux/stringify.h>
1717
18
-#if !defined(CONFIG_CPU_MIPSR2) && !defined(CONFIG_CPU_MIPSR6)
18
+#if !defined(CONFIG_CPU_HAS_DIEI)
1919
2020 /*
2121 * For cli() we have to insert nops to make sure that the new value
....@@ -110,4 +110,4 @@
110110 }
111111 EXPORT_SYMBOL(arch_local_irq_restore);
112112
113
-#endif /* !CONFIG_CPU_MIPSR2 && !CONFIG_CPU_MIPSR6 */
113
+#endif /* !CONFIG_CPU_HAS_DIEI */