Skip to contentSkip to conversation

fix nohalt boot option

PATCH Chen, Kenneth W 1 participant 1 message Aug 8, 2005

lore
Share & tools
lore
#0 lore raw

Apparent, this changeset broke the "nohalt" kernel boot option.

http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h�f5a500a3e97f7811cdce0f553ca1917ccd4220

default_idle() is looking at new variable can_do_pal_halt. However, that variable did not get cleared upon "nohalt" boot option. Resulting a wacky behavior that the kernel option can only have effect when perfmon is exercised.

arch/ia64/kernel/process.c renamed from arch/ia64/kernel/process.c.orig +1 -1
@@ -178,7 +178,7 @@ static int can_do_pal_halt = 1;
 
 static int __init nohalt_setup(char * str)
 {
-	pal_halt = 0;
+	pal_halt = can_do_pal_halt = 0;
 	return 1;
 }
 __setup("nohalt", nohalt_setup);

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html