diff options
author | Oleg Nesterov <[email protected]> | 2013-06-20 17:50:15 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-06-20 17:58:56 +0200 |
commit | 1c10adbb929936316f71df089ace699fce037e24 (patch) | |
tree | 31cb135dfa9f016724fe97e096153abe507ea073 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 7ab71f3244e9f970c29566c5a67e13d1fa38c387 (diff) |
hw_breakpoint: Introduce cpumask_of_bp()
Add the trivial helper which simply returns cpumask_of() or
cpu_possible_mask depending on bp->cpu.
Change fetch_bp_busy_slots() and toggle_bp_slot() to always do
for_each_cpu(cpumask_of_bp) to simplify the code and avoid the
code duplication.
Reported-by: Vince Weaver <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[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