]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-mips/cpu-features.h
[MIPS] Clean up asm-mips/mach-generic/spaces.h
[karo-tx-linux.git] / include / asm-mips / cpu-features.h
index 3c2fc2b647c887bb1e23be77bcd3cc0bf5a66bfb..5e4bed123b487640f13541f3153e5d1e43960ab1 100644 (file)
@@ -40,6 +40,9 @@
 #endif
 #ifndef cpu_has_fpu
 #define cpu_has_fpu            (current_cpu_data.options & MIPS_CPU_FPU)
+#define raw_cpu_has_fpu                (raw_current_cpu_data.options & MIPS_CPU_FPU)
+#else
+#define raw_cpu_has_fpu                cpu_has_fpu
 #endif
 #ifndef cpu_has_32fpr
 #define cpu_has_32fpr          (cpu_data[0].options & MIPS_CPU_32FPR)
 # define cpu_has_veic                  0
 #endif
 
-#ifndef cpu_has_subset_pcaches
-#define cpu_has_subset_pcaches (cpu_data[0].options & MIPS_CPU_SUBSET_CACHES)
+#ifndef cpu_has_inclusive_pcaches
+#define cpu_has_inclusive_pcaches      (cpu_data[0].options & MIPS_CPU_INCLUSIVE_CACHES)
 #endif
 
 #ifndef cpu_dcache_line_size