summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cmd64x.c
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2012-04-01 05:37:02 +0200
committerLen Brown <len.brown@intel.com>2012-04-06 21:01:25 +0200
commitee01e663373343c63e0e3d364d09f6155378dbcc (patch)
tree22448567769278f9af4f8bff9bfc7653be94885c /drivers/ata/pata_cmd64x.c
parentACPI processor: Use safe_halt() rather than halt() in acpi_idle_play_dead() (diff)
downloadlinux-ee01e663373343c63e0e3d364d09f6155378dbcc.tar.xz
linux-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 <toshi.kani@hp.com> Cc: Boris Ostrovsky <boris.ostrovsky@amd.com> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Tested-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/ata/pata_cmd64x.c')
0 files changed, 0 insertions, 0 deletions