ACPI: fix 2.6.20 SMP boot regression
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Fri, 15 Jun 2007 23:36:00 +0000 (19:36 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 23 Jun 2007 14:57:28 +0000 (10:57 -0400)
commitd5a3d32a042126f65a008e0e5204ef92ad2ee55d
tree8ecc0c8d5d1d658d570afd0b60760c1da8672b72
parent83dd4504456d4b5e464d6ec4a7665e2c922db67f
ACPI: fix 2.6.20 SMP boot regression

Always disable/enable interrupts in the acpi idle routine,
even in the error path.

This is required as the 2.6.20 change in git commit d331e739f5ad2aaa9...
"Fix interrupt race in idle callback" expects the idle handler
to enable interrupt before returning.

There was a case in acpi idle routine, in which interrupt was not being
enabled before return, which caused the system to hang at bootup, while
enabling C-states on an SMP system.

The signature of the hang was that "processor.nocst"
was required to enable boot.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c