From: nagalakshmi.nandigama@lsi.com Date: Tue, 17 Apr 2012 05:55:04 +0000 (+0530) Subject: [SCSI] mpt2sas: Fix unsafe using smp_processor_id() in preemptible X-Git-Tag: v3.5-rc3~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2c658505bf5c75516ee0a79287223e86a2474af;p=pandora-kernel.git [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 CC: stable@vger.kernel.org Signed-off-by: James Bottomley --- Reading git-diff-tree failed