aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:33 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:33 -0500
commit5300db887e251276eaab2801af297acf4b53b9eb (patch)
treec5c055c2efa238bd47e43af85b9cd4f57ed2c8a0 /arch
parent26996dd22b3cbc9dbe18cf908d2f844a116b6ec1 (diff)
x86: unify x86_cpuinfo struct.
x86_cpuinfo is one more to the family of "not fundamentally different" structs. It's unified in processor.h, with very specific fields enclosed around ifdefs. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 69507ae8a65b..ecd13c0e8542 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -427,7 +427,7 @@ static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
427 427
428 printk(KERN_DEBUG "CPU: After generic identify, caps:"); 428 printk(KERN_DEBUG "CPU: After generic identify, caps:");
429 for (i = 0; i < NCAPINTS; i++) 429 for (i = 0; i < NCAPINTS; i++)
430 printk(" %08lx", c->x86_capability[i]); 430 printk(" %08x", c->x86_capability[i]);
431 printk("\n"); 431 printk("\n");
432 432
433 if (this_cpu->c_identify) { 433 if (this_cpu->c_identify) {
@@ -435,7 +435,7 @@ static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
435 435
436 printk(KERN_DEBUG "CPU: After vendor identify, caps:"); 436 printk(KERN_DEBUG "CPU: After vendor identify, caps:");
437 for (i = 0; i < NCAPINTS; i++) 437 for (i = 0; i < NCAPINTS; i++)
438 printk(" %08lx", c->x86_capability[i]); 438 printk(" %08x", c->x86_capability[i]);
439 printk("\n"); 439 printk("\n");
440 } 440 }
441 441
@@ -493,7 +493,7 @@ static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
493 493
494 printk(KERN_DEBUG "CPU: After all inits, caps:"); 494 printk(KERN_DEBUG "CPU: After all inits, caps:");
495 for (i = 0; i < NCAPINTS; i++) 495 for (i = 0; i < NCAPINTS; i++)
496 printk(" %08lx", c->x86_capability[i]); 496 printk(" %08x", c->x86_capability[i]);
497 printk("\n"); 497 printk("\n");
498 498
499 /* 499 /*