Skip to content

Commit

Permalink
[IA64] fix nohalt boot option
Browse files Browse the repository at this point in the history
this changeset broke the "nohalt" kernel boot option.
  8df5a50

default_idle() is looking at new variable can_do_pal_halt.  However,
that variable did not get cleared upon "nohalt" boot option.  Result
is that "nohalt" option is ignored until perfmon is exercised.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Ken Chen authored and Tony Luck committed Aug 8, 2005
1 parent 688d191 commit fb57385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,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);
Expand Down

0 comments on commit fb57385

Please sign in to comment.