Commit 43d874b0 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] voyager linkage fix

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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dd4f28e0
...@@ -202,7 +202,7 @@ static int __init idle_setup (char *str) ...@@ -202,7 +202,7 @@ static int __init idle_setup (char *str)
if (!strncmp(str, "poll", 4)) { if (!strncmp(str, "poll", 4)) {
printk("using polling idle threads.\n"); printk("using polling idle threads.\n");
pm_idle = poll_idle; pm_idle = poll_idle;
#ifdef CONFIG_SMP #ifdef CONFIG_X86_SMP
if (smp_num_siblings > 1) if (smp_num_siblings > 1)
printk("WARNING: polling idle and HT enabled, performance may degrade.\n"); printk("WARNING: polling idle and HT enabled, performance may degrade.\n");
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment