aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2009-11-13 15:30:00 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-13 19:18:05 -0500
commit0388423dba2217b4e5b6c61690b0506d13b25a49 (patch)
treea1adbdf1697201862140ccccb28d5724dbce70e7 /arch
parent15cd8812ab2ce62a2f779e93a8398bdad752291a (diff)
x86: Minimise printk spew from per-vendor init code
In the default case where the kernel supports all CPU vendors, we currently print out a bunch of not useful messages on every system. 32-bit: KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD NSC Geode by NSC Cyrix CyrixInstead Centaur CentaurHauls Transmeta GenuineTMx86 Transmeta TransmetaCPU UMC UMC UMC UMC 64-bit: KERNEL supported cpus: Intel GenuineIntel AMD AuthenticAMD Centaur CentaurHauls Given that "what CPUs does the kernel support" isn't useful for the "support everything" case, we can suppress these printk's. Signed-off-by: Dave Jones <davej@redhat.com> LKML-Reference: <20091113203000.GA19160@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index cc25c2b4a567..617a29f95b3c 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -656,6 +656,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
656 656
657void __init early_cpu_init(void) 657void __init early_cpu_init(void)
658{ 658{
659#ifdef PROCESSOR_SELECT
659 const struct cpu_dev *const *cdev; 660 const struct cpu_dev *const *cdev;
660 int count = 0; 661 int count = 0;
661 662
@@ -676,7 +677,7 @@ void __init early_cpu_init(void)
676 cpudev->c_ident[j]); 677 cpudev->c_ident[j]);
677 } 678 }
678 } 679 }
679 680#endif
680 early_identify_cpu(&boot_cpu_data); 681 early_identify_cpu(&boot_cpu_data);
681} 682}
682 683