[MIPS] Make facility to convert CPU types to strings generally available.
[deliverable/linux.git] / include / asm-mips / cpu-info.h
index 04689590eeed6428d998839ba462f62d94b0c316..94f1c8172360bb5712e9c5b4607ae7d1e1152d66 100644 (file)
@@ -74,4 +74,7 @@ extern struct cpuinfo_mips cpu_data[];
 extern void cpu_probe(void);
 extern void cpu_report(void);
 
+extern const char *__cpu_name[];
+#define cpu_name_string()      __cpu_name[smp_processor_id()]
+
 #endif /* __ASM_CPU_INFO_H */
This page took 0.024929 seconds and 5 git commands to generate.