From: Oleg Nesterov Date: Thu, 20 Jun 2013 15:50:15 +0000 (+0200) Subject: hw_breakpoint: Introduce cpumask_of_bp() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~62^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c10adbb929936316f71df089ace699fce037e24;p=pandora-kernel.git 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 Signed-off-by: Oleg Nesterov Acked-by: Frederic Weisbecker Link: http://lkml.kernel.org/r/20130620155015.GA6340@redhat.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed