aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2.h
diff options
context:
space:
mode:
authorRussell King <[email protected]>2011-10-20 21:04:18 +0000
committerRussell King <[email protected]>2011-10-20 21:06:57 +0000
commita06f916b7a9b57447ceb875eb0a89f1a66b31bca (patch)
treea8a9d7c5e91a08f253107ffcf066dbeb4f7d9d34 /drivers/scsi/mpt2sas/mpi/mpi2.h
parentARM: 7115/4: move __exception and friends to asm/exception.h (diff)
downloadkernel-a06f916b7a9b57447ceb875eb0a89f1a66b31bca.tar.gz
kernel-a06f916b7a9b57447ceb875eb0a89f1a66b31bca.zip
ARM: smp: fix clipping of number of CPUs
Rather than clipping the number of CPUs using the compile-time NR_CPUS constant, use the runtime nr_cpu_ids value instead. This allows the nr_cpus command line option to work as expected. Cc: <[email protected]> Reported-by: Mark Salter <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2.h')
0 files changed, 0 insertions, 0 deletions