summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-06-20 19:50:15 +0400
committerIngo Molnar <mingo@kernel.org>2013-06-20 19:58:56 +0400
commit1c10adbb929936316f71df089ace699fce037e24 (patch)
tree31cb135dfa9f016724fe97e096153abe507ea073 /crypto/algapi.c
parent7ab71f3244e9f970c29566c5a67e13d1fa38c387 (diff)
downloadlinux-1c10adbb929936316f71df089ace699fce037e24.tar.xz
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 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions