proc.c (15f99cbd071aa402e113d342448603344a337046) | proc.c (0b25b7c8cba83fa8c02fbf38eb905996f2455dd0) |
---|---|
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", 9 [CPU_SH7203] = "SH7203", [CPU_SH7263] = "SH7263", | 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", 9 [CPU_SH7203] = "SH7203", [CPU_SH7263] = "SH7263", |
10 [CPU_SH7264] = "SH7264", | 10 [CPU_SH7264] = "SH7264", [CPU_SH7269] = "SH7269", |
11 [CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619", 12 [CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706", 13 [CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708", 14 [CPU_SH7709] = "SH7709", [CPU_SH7710] = "SH7710", 15 [CPU_SH7712] = "SH7712", [CPU_SH7720] = "SH7720", 16 [CPU_SH7721] = "SH7721", [CPU_SH7729] = "SH7729", 17 [CPU_SH7750] = "SH7750", [CPU_SH7750S] = "SH7750S", 18 [CPU_SH7750R] = "SH7750R", [CPU_SH7751] = "SH7751", 19 [CPU_SH7751R] = "SH7751R", [CPU_SH7760] = "SH7760", 20 [CPU_SH4_202] = "SH4-202", [CPU_SH4_501] = "SH4-501", 21 [CPU_SH7763] = "SH7763", [CPU_SH7770] = "SH7770", 22 [CPU_SH7780] = "SH7780", [CPU_SH7781] = "SH7781", 23 [CPU_SH7343] = "SH7343", [CPU_SH7785] = "SH7785", 24 [CPU_SH7786] = "SH7786", [CPU_SH7757] = "SH7757", 25 [CPU_SH7722] = "SH7722", [CPU_SHX3] = "SH-X3", 26 [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", 27 [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", 28 [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", | 11 [CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619", 12 [CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706", 13 [CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708", 14 [CPU_SH7709] = "SH7709", [CPU_SH7710] = "SH7710", 15 [CPU_SH7712] = "SH7712", [CPU_SH7720] = "SH7720", 16 [CPU_SH7721] = "SH7721", [CPU_SH7729] = "SH7729", 17 [CPU_SH7750] = "SH7750", [CPU_SH7750S] = "SH7750S", 18 [CPU_SH7750R] = "SH7750R", [CPU_SH7751] = "SH7751", 19 [CPU_SH7751R] = "SH7751R", [CPU_SH7760] = "SH7760", 20 [CPU_SH4_202] = "SH4-202", [CPU_SH4_501] = "SH4-501", 21 [CPU_SH7763] = "SH7763", [CPU_SH7770] = "SH7770", 22 [CPU_SH7780] = "SH7780", [CPU_SH7781] = "SH7781", 23 [CPU_SH7343] = "SH7343", [CPU_SH7785] = "SH7785", 24 [CPU_SH7786] = "SH7786", [CPU_SH7757] = "SH7757", 25 [CPU_SH7722] = "SH7722", [CPU_SHX3] = "SH-X3", 26 [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", 27 [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", 28 [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", |
29 [CPU_SH7372] = "SH7372", [CPU_SH7734] = "SH7734", 30 [CPU_SH_NONE] = "Unknown" | 29 [CPU_SH7372] = "SH7372", [CPU_SH_NONE] = "Unknown" |
31}; 32 33const char *get_cpu_subtype(struct sh_cpuinfo *c) 34{ 35 return cpu_name[c->type]; 36} 37EXPORT_SYMBOL(get_cpu_subtype); 38 --- 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 --- |