From: Peter Zijlstra Date: Wed, 14 Aug 2013 12:55:24 +0000 (+0200) Subject: sched: Introduce preempt_count accessor functions X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~40^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a2b4b222743bb07fedf985b884550f2ca067ea9;p=pandora-kernel.git sched: Introduce preempt_count accessor functions Replace the single preempt_count() 'function' that's an lvalue with two proper functions: preempt_count() - returns the preempt_count value as rvalue preempt_count_set() - Allows setting the preempt-count value Also provide preempt_count_ptr() as a convenience wrapper to implement all modifying operations. Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-orxrbycjozopqfhb4dxdkdvb@git.kernel.org [ Fixed build failure. ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed