[PATCH] x86: really print supported CPUs if PROCESSOR_SELECT=y

From: Jan Beulich
Date: Fri Mar 04 2011 - 10:52:42 EST


I'm sure it was a mere oversight that the CONFIG_ prefixes are missing.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Dave Jones <davej@xxxxxxxxxx>

---
arch/x86/kernel/cpu/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- 2.6.38-rc7/arch/x86/kernel/cpu/common.c
+++ 2.6.38-rc7-x86-show-supported-cpus/arch/x86/kernel/cpu/common.c
@@ -675,7 +675,7 @@ void __init early_cpu_init(void)
const struct cpu_dev *const *cdev;
int count = 0;

-#ifdef PROCESSOR_SELECT
+#ifdef CONFIG_PROCESSOR_SELECT
printk(KERN_INFO "KERNEL supported cpus:\n");
#endif

@@ -687,7 +687,7 @@ void __init early_cpu_init(void)
cpu_devs[count] = cpudev;
count++;

-#ifdef PROCESSOR_SELECT
+#ifdef CONFIG_PROCESSOR_SELECT
{
unsigned int j;




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/