MIPS: Use WSBH/DSBH/DSHD on Loongson 3A
[firefly-linux-kernel-4.4.55.git] / arch / mips / include / asm / mach-loongson / cpu-feature-overrides.h
index c0f3ef45c2c14f0e658feee183eabc6f8141ea9f..7d28f95b0512ea27e1aeb7fac6f22ecc561a45fd 100644 (file)
@@ -59,4 +59,6 @@
 #define cpu_has_watch          1
 #define cpu_has_local_ebase    0
 
+#define cpu_has_wsbh           IS_ENABLED(CONFIG_CPU_LOONGSON3)
+
 #endif /* __ASM_MACH_LOONGSON_CPU_FEATURE_OVERRIDES_H */