summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-06-20 17:50:15 +0200
committerIngo Molnar <mingo@kernel.org>2013-06-20 17:58:56 +0200
commit1c10adbb929936316f71df089ace699fce037e24 (patch)
tree31cb135dfa9f016724fe97e096153abe507ea073 /arch/h8300
parent7ab71f3244e9f970c29566c5a67e13d1fa38c387 (diff)
downloadlinux-1c10adbb929936316f71df089ace699fce037e24.tar.gz
linux-1c10adbb929936316f71df089ace699fce037e24.tar.bz2
linux-1c10adbb929936316f71df089ace699fce037e24.zip
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 <vincent.weaver@maine.edu> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Link: http://lkml.kernel.org/r/20130620155015.GA6340@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions