Skip to content

Commit

Permalink
x86: remove CPU capabitilites printks on 32-bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Jan 30, 2008
1 parent 96d97cf commit 3898534
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions arch/x86/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,20 +432,9 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)

generic_identify(c);

printk(KERN_DEBUG "CPU: After generic identify, caps:");
for (i = 0; i < NCAPINTS; i++)
printk(" %08x", c->x86_capability[i]);
printk("\n");

if (this_cpu->c_identify) {
if (this_cpu->c_identify)
this_cpu->c_identify(c);

printk(KERN_DEBUG "CPU: After vendor identify, caps:");
for (i = 0; i < NCAPINTS; i++)
printk(" %08x", c->x86_capability[i]);
printk("\n");
}

/*
* Vendor-specific initialization. In this section we
* canonicalize the feature flags, meaning if there are
Expand Down Expand Up @@ -496,13 +485,6 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
c->x86, c->x86_model);
}

/* Now the feature flags better reflect actual CPU features! */

printk(KERN_DEBUG "CPU: After all inits, caps:");
for (i = 0; i < NCAPINTS; i++)
printk(" %08x", c->x86_capability[i]);
printk("\n");

/*
* On SMP, boot_cpu_data holds the common feature set between
* all CPUs; so make sure that we indicate which features are
Expand Down

0 comments on commit 3898534

Please sign in to comment.