]> git.hungrycats.org Git - linux/commitdiff
[PATCH] voyager linkage fix
authorAndrew Morton <akpm@osdl.org>
Sat, 12 Jun 2004 23:38:43 +0000 (16:38 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Sat, 12 Jun 2004 23:38:43 +0000 (16:38 -0700)
From: William Lee Irwin III <wli@holomorphy.com>

Voyager doesn't support HT, so smp_num_siblings doesn't exist.

Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/process.c

index b564841d0cec0b6e7a6cc81a00c762bc02b64970..de22204a7e770bc45a8ff92b2f8a023999697d54 100644 (file)
@@ -202,7 +202,7 @@ static int __init idle_setup (char *str)
        if (!strncmp(str, "poll", 4)) {
                printk("using polling idle threads.\n");
                pm_idle = poll_idle;
-#ifdef CONFIG_SMP
+#ifdef CONFIG_X86_SMP
                if (smp_num_siblings > 1)
                        printk("WARNING: polling idle and HT enabled, performance may degrade.\n");
 #endif