proc.c (f43dc23d5ea91fca257be02138a255f02d98e806) | proc.c (fac6c2a891a3e7255e4440f09a4c7da954043ba9) |
---|---|
1#include <linux/seq_file.h> 2#include <linux/kernel.h> 3#include <linux/module.h> 4#include <asm/machvec.h> 5#include <asm/processor.h> 6 7static const char *cpu_name[] = { 8 [CPU_SH7201] = "SH7201", --- 11 unchanged lines hidden (view full) --- 20 [CPU_SH7763] = "SH7763", [CPU_SH7770] = "SH7770", 21 [CPU_SH7780] = "SH7780", [CPU_SH7781] = "SH7781", 22 [CPU_SH7343] = "SH7343", [CPU_SH7785] = "SH7785", 23 [CPU_SH7786] = "SH7786", [CPU_SH7757] = "SH7757", 24 [CPU_SH7722] = "SH7722", [CPU_SHX3] = "SH-X3", 25 [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", 26 [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", 27 [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", | 1#include <linux/seq_file.h> 2#include <linux/kernel.h> 3#include <linux/module.h> 4#include <asm/machvec.h> 5#include <asm/processor.h> 6 7static const char *cpu_name[] = { 8 [CPU_SH7201] = "SH7201", --- 11 unchanged lines hidden (view full) --- 20 [CPU_SH7763] = "SH7763", [CPU_SH7770] = "SH7770", 21 [CPU_SH7780] = "SH7780", [CPU_SH7781] = "SH7781", 22 [CPU_SH7343] = "SH7343", [CPU_SH7785] = "SH7785", 23 [CPU_SH7786] = "SH7786", [CPU_SH7757] = "SH7757", 24 [CPU_SH7722] = "SH7722", [CPU_SHX3] = "SH-X3", 25 [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", 26 [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", 27 [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", |
28 [CPU_SH_NONE] = "Unknown" | 28 [CPU_SH7372] = "SH7372", [CPU_SH_NONE] = "Unknown" |
29}; 30 31const char *get_cpu_subtype(struct sh_cpuinfo *c) 32{ 33 return cpu_name[c->type]; 34} 35EXPORT_SYMBOL(get_cpu_subtype); 36 --- 112 unchanged lines hidden --- | 29}; 30 31const char *get_cpu_subtype(struct sh_cpuinfo *c) 32{ 33 return cpu_name[c->type]; 34} 35EXPORT_SYMBOL(get_cpu_subtype); 36 --- 112 unchanged lines hidden --- |