proc.c (020abf03cd659388f94cb328e1e1df0656e0d7ff) | proc.c (fea88a0c02822fbb91a0b8301bf9af04377876a3) |
---|---|
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_SH7372] = "SH7372", [CPU_SH_NONE] = "Unknown" | 28 [CPU_SH7372] = "SH7372", [CPU_SH7734] = "SH7734", 29 [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 --- | 30}; 31 32const char *get_cpu_subtype(struct sh_cpuinfo *c) 33{ 34 return cpu_name[c->type]; 35} 36EXPORT_SYMBOL(get_cpu_subtype); 37 --- 112 unchanged lines hidden --- |