diff options
| author | Toshi Kani <[email protected]> | 2012-04-01 03:37:02 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2012-04-06 19:01:25 +0000 |
| commit | ee01e663373343c63e0e3d364d09f6155378dbcc (patch) | |
| tree | 22448567769278f9af4f8bff9bfc7653be94885c /lib | |
| parent | ACPI processor: Use safe_halt() rather than halt() in acpi_idle_play_dead() (diff) | |
| download | kernel-ee01e663373343c63e0e3d364d09f6155378dbcc.tar.gz kernel-ee01e663373343c63e0e3d364d09f6155378dbcc.zip | |
cpuidle: Fix panic in CPU off-lining with no idle driver
Fix a NULL pointer dereference panic in cpuidle_play_dead() during
CPU off-lining when no cpuidle driver is registered. A cpuidle
driver may be registered at boot-time based on CPU type. This patch
allows an off-lined CPU to enter HLT-based idle in this condition.
Signed-off-by: Toshi Kani <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Reviewed-by: Srivatsa S. Bhat <[email protected]>
Tested-by: Srivatsa S. Bhat <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
