]> git.baikalelectronics.ru Git - kernel.git/commit
acpi: fix "buggy BIOS check" when CPUs are hot removed
authorAlok Kataria <akataria@vmware.com>
Wed, 9 Apr 2008 00:41:56 +0000 (17:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Apr 2008 01:25:53 +0000 (18:25 -0700)
commit9cd0041165786afa683e3126f7a49b58956c86cd
tree7acac595f855c316a1f5d85024b103460c818cb2
parentc837b630486264bd94d8210e012c8dfe5dd0f58c
acpi: fix "buggy BIOS check" when CPUs are hot removed

Fixes a BUG in ACPI hotplugging.

processor_device_array[pr->id] needs to be set to NULL when removing a CPU.
Else the "buggy BIOS check" in acpi_processor_start mistakenly fires when a
CPU is removed from the system and then later re-added.

Signed-off-by: Alok N Kataria <akataria@vmware.com>
Signed-off-by: Dan Arai <arai@vmware.com>
Cc: Len Brown <lenb@kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/processor_core.c