projects
/
kernel
/
linux-3.0.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tizen 2.3.1 release
[kernel/linux-3.0.git]
/
arch
/
x86
/
kernel
/
cpu
/
proc.c
diff --git
a/arch/x86/kernel/cpu/proc.c
b/arch/x86/kernel/cpu/proc.c
index
62ac8cb
..
72c365a
100644
(file)
--- a/
arch/x86/kernel/cpu/proc.c
+++ b/
arch/x86/kernel/cpu/proc.c
@@
-64,12
+64,10
@@
static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c)
static int show_cpuinfo(struct seq_file *m, void *v)
{
struct cpuinfo_x86 *c = v;
static int show_cpuinfo(struct seq_file *m, void *v)
{
struct cpuinfo_x86 *c = v;
- unsigned int cpu
= 0
;
+ unsigned int cpu;
int i;
int i;
-#ifdef CONFIG_SMP
cpu = c->cpu_index;
cpu = c->cpu_index;
-#endif
seq_printf(m, "processor\t: %u\n"
"vendor_id\t: %s\n"
"cpu family\t: %d\n"
seq_printf(m, "processor\t: %u\n"
"vendor_id\t: %s\n"
"cpu family\t: %d\n"