|
@@ -207,13 +207,13 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifndef cpu_dcache_line_size
|
|
#ifndef cpu_dcache_line_size
|
|
-#define cpu_dcache_line_size() current_cpu_data.dcache.linesz
|
|
|
|
|
|
+#define cpu_dcache_line_size() cpu_data[0].dcache.linesz
|
|
#endif
|
|
#endif
|
|
#ifndef cpu_icache_line_size
|
|
#ifndef cpu_icache_line_size
|
|
-#define cpu_icache_line_size() current_cpu_data.icache.linesz
|
|
|
|
|
|
+#define cpu_icache_line_size() cpu_data[0].icache.linesz
|
|
#endif
|
|
#endif
|
|
#ifndef cpu_scache_line_size
|
|
#ifndef cpu_scache_line_size
|
|
-#define cpu_scache_line_size() current_cpu_data.scache.linesz
|
|
|
|
|
|
+#define cpu_scache_line_size() cpu_data[0].scache.linesz
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif /* __ASM_CPU_FEATURES_H */
|
|
#endif /* __ASM_CPU_FEATURES_H */
|