From: Peter Zijlstra Date: Tue, 10 Sep 2013 10:15:23 +0000 (+0200) Subject: sched: Extract the basic add/sub preempt_count modifiers X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~40^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdb43806589096ac4272fe1307e789846ac08d7c;p=pandora-kernel.git sched: Extract the basic add/sub preempt_count modifiers Rewrite the preempt_count macros in order to extract the 3 basic preempt_count value modifiers: __preempt_count_add() __preempt_count_sub() and the new: __preempt_count_dec_and_test() And since we're at it anyway, replace the unconventional $op_preempt_count names with the more conventional preempt_count_$op. Since these basic operators are equivalent to the previous _notrace() variants, do away with the _notrace() versions. Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-ewbpdbupy9xpsjhg960zwbv8@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed