[tip:x86/asm] x86: Really print supported CPUs if PROCESSOR_SELECT=y

From: tip-bot for Jan Beulich
Date: Sat Mar 05 2011 - 03:31:40 EST


Commit-ID: ac23f25355ef53f3d14352fcff3c6817527a9749
Gitweb: http://git.kernel.org/tip/ac23f25355ef53f3d14352fcff3c6817527a9749
Author: Jan Beulich <JBeulich@xxxxxxxxxx>
AuthorDate: Fri, 4 Mar 2011 15:52:35 +0000
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Sat, 5 Mar 2011 09:29:45 +0100

x86: Really print supported CPUs if PROCESSOR_SELECT=y

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>
LKML-Reference: <4D7118D30200007800034F79@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/kernel/cpu/common.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 1d59834..5d98c46 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/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/