aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-11 18:46:17 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-10-11 18:46:17 -0400
commit9966db25defba4e1dce263246db25237bc24479f (patch)
tree5002f2849ebcceb57f40535798aa37dfbd841875 /include/asm-mips
parent36cfbaad815908f54872a7b471e9a7a09b4084a4 (diff)
[MIPS] Make facility to convert CPU types to strings generally available.
So far /proc/cpuinfo has been the only user but human readable processor name are more useful than that for proc. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/cpu-info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips/cpu-info.h b/include/asm-mips/cpu-info.h
index 04689590eeed..94f1c8172360 100644
--- a/include/asm-mips/cpu-info.h
+++ b/include/asm-mips/cpu-info.h
@@ -74,4 +74,7 @@ extern struct cpuinfo_mips cpu_data[];
74extern void cpu_probe(void); 74extern void cpu_probe(void);
75extern void cpu_report(void); 75extern void cpu_report(void);
76 76
77extern const char *__cpu_name[];
78#define cpu_name_string() __cpu_name[smp_processor_id()]
79
77#endif /* __ASM_CPU_INFO_H */ 80#endif /* __ASM_CPU_INFO_H */