aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-30 07:32:49 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:49 -0500
commit3898534d85e2da8cedab1ceb6ab9328c61f2c1ce (patch)
tree888433bf89a69f6ebc7a0336d2c767b2657abfaa
parent96d97cf03b3d68e6c857623da93acd522b2b7e1a (diff)
x86: remove CPU capabitilites printks on 32-bit
I don't know of any case where they have been useful and they look ugly. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/kernel/cpu/common.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index dbb9142a8241..ed05c7a0ca9b 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -432,20 +432,9 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
432 432
433 generic_identify(c); 433 generic_identify(c);
434 434
435 printk(KERN_DEBUG "CPU: After generic identify, caps:"); 435 if (this_cpu->c_identify)
436 for (i = 0; i < NCAPINTS; i++)
437 printk(" %08x", c->x86_capability[i]);
438 printk("\n");
439
440 if (this_cpu->c_identify) {
441 this_cpu->c_identify(c); 436 this_cpu->c_identify(c);
442 437
443 printk(KERN_DEBUG "CPU: After vendor identify, caps:");
444 for (i = 0; i < NCAPINTS; i++)
445 printk(" %08x", c->x86_capability[i]);
446 printk("\n");
447 }
448
449 /* 438 /*
450 * Vendor-specific initialization. In this section we 439 * Vendor-specific initialization. In this section we
451 * canonicalize the feature flags, meaning if there are 440 * canonicalize the feature flags, meaning if there are
@@ -496,13 +485,6 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
496 c->x86, c->x86_model); 485 c->x86, c->x86_model);
497 } 486 }
498 487
499 /* Now the feature flags better reflect actual CPU features! */
500
501 printk(KERN_DEBUG "CPU: After all inits, caps:");
502 for (i = 0; i < NCAPINTS; i++)
503 printk(" %08x", c->x86_capability[i]);
504 printk("\n");
505
506 /* 488 /*
507 * On SMP, boot_cpu_data holds the common feature set between 489 * On SMP, boot_cpu_data holds the common feature set between
508 * all CPUs; so make sure that we indicate which features are 490 * all CPUs; so make sure that we indicate which features are