aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorRusty Russell <[email protected]>2009-01-10 21:58:09 -0800
committerIngo Molnar <[email protected]>2009-01-30 15:47:34 +0100
commit4ab0a9409af5fad74ad1fc9e46d5a8b460f353e9 (patch)
treed6c5bba1ffb35c5655a736d6d736d086ed3316eb /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent3a9f84d354ce1e19956083c8e691727dea33bd5a (diff)
cpumask: convert lib/smp_processor_id to new cpumask ops
Impact: fix debug_smp_processor_id() for CONFIG_CPUMASK_OFFSTACK=y The scheduler now uses the new cpumask API, which deals up to nr_cpumask_bits, whereas the API used NR_CPUS bits. If CONFIG_CPUMASK_OFFSTACK=y these two are not equal, so the top bits are undefined. Leading to bug 12518 "BUG: using smp_processor_id() in preemptible [00000000] code: dellWirelessCtl/..." The fix is simple: use the modern API in the check. Signed-off-by: Rusty Russell <[email protected]> Signed-off-by: Mike Travis <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions