aboutsummaryrefslogtreecommitdiff
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>2012-04-17 11:25:04 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-22 11:36:55 -0700
commit696615b7f9872cf81a840cde982775c521f56ea3 (patch)
tree3872d3dea740c03121fcad81b23999ab641d14e4 /mm/swapfile.c
parentb7013d0a16b881481dc25ba4d42c5203bebe5ff1 (diff)
SCSI: mpt2sas: Fix unsafe using smp_processor_id() in preemptible
commit a2c658505bf5c75516ee0a79287223e86a2474af upstream. 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> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions