diff options
| author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-03-22 16:36:51 -0400 |
|---|---|---|
| committer | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-03-22 16:36:51 -0400 |
| commit | f2362e6f1b9c5c168e5b4159afb4853ba467965e (patch) | |
| tree | dd7621afee9f60189746eb963f12c91b1ab7f950 | |
| parent | 7f00a2495bf5b98b097c47be5d6e2d4114ec39bf (diff) | |
x86: cpu/cpu.h cleanup
Impact: cleanup
- Fix various style issues
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
| -rw-r--r-- | arch/x86/kernel/cpu/cpu.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 9469ecb5aeb8..6de9a908e400 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h | |||
| @@ -3,25 +3,25 @@ | |||
| 3 | #define ARCH_X86_CPU_H | 3 | #define ARCH_X86_CPU_H |
| 4 | 4 | ||
| 5 | struct cpu_model_info { | 5 | struct cpu_model_info { |
| 6 | int vendor; | 6 | int vendor; |
| 7 | int family; | 7 | int family; |
| 8 | const char *model_names[16]; | 8 | const char *model_names[16]; |
| 9 | }; | 9 | }; |
| 10 | 10 | ||
| 11 | /* attempt to consolidate cpu attributes */ | 11 | /* attempt to consolidate cpu attributes */ |
| 12 | struct cpu_dev { | 12 | struct cpu_dev { |
| 13 | const char * c_vendor; | 13 | const char *c_vendor; |
| 14 | 14 | ||
| 15 | /* some have two possibilities for cpuid string */ | 15 | /* some have two possibilities for cpuid string */ |
| 16 | const char * c_ident[2]; | 16 | const char *c_ident[2]; |
| 17 | 17 | ||
| 18 | struct cpu_model_info c_models[4]; | 18 | struct cpu_model_info c_models[4]; |
| 19 | 19 | ||
| 20 | void (*c_early_init)(struct cpuinfo_x86 *c); | 20 | void (*c_early_init)(struct cpuinfo_x86 *); |
| 21 | void (*c_init)(struct cpuinfo_x86 * c); | 21 | void (*c_init)(struct cpuinfo_x86 *); |
| 22 | void (*c_identify)(struct cpuinfo_x86 * c); | 22 | void (*c_identify)(struct cpuinfo_x86 *); |
| 23 | unsigned int (*c_size_cache)(struct cpuinfo_x86 * c, unsigned int size); | 23 | unsigned int (*c_size_cache)(struct cpuinfo_x86 *, unsigned int); |
| 24 | int c_x86_vendor; | 24 | int c_x86_vendor; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | #define cpu_dev_register(cpu_devX) \ | 27 | #define cpu_dev_register(cpu_devX) \ |
