commit | a2c658505bf5c75516ee0a79287223e86a2474af | [log] [tgz] |
---|---|---|
author | nagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com> | Tue Apr 17 11:25:04 2012 +0530 |
committer | James Bottomley <JBottomley@Parallels.com> | Wed Jun 06 12:38:56 2012 +0900 |
tree | 9fe23d2db75e2a24cae14ad8c6985f6d0b5e8be4 | |
parent | 99becf1328d8d71dd6f4480e3591d7dcdb389e57 [diff] |
[SCSI] mpt2sas: Fix unsafe using smp_processor_id() in preemptible When CONFIG_DEBUG_PREEMPT is enabled, bug is observed in the smp_processor_id(). This is because smp_processor_id() is not called in preempt safe condition. To fix this issue, use raw_smp_processor_id instead of smp_processor_id. Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com> CC: stable@vger.kernel.org Signed-off-by: James Bottomley <JBottomley@Parallels.com>