From: Paul E. McKenney Date: Tue, 21 Oct 2014 20:23:08 +0000 (-0700) Subject: rcu: Remove "cpu" argument to rcu_needs_cpu() X-Git-Tag: omap-for-v3.19/fixes-rc1~168^2^2^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa6da5140b784ece799f670bf532096f67aa7785;p=pandora-kernel.git rcu: Remove "cpu" argument to rcu_needs_cpu() The "cpu" argument to rcu_needs_cpu() is always the current CPU, so drop it. This in turn allows the "cpu" argument to rcu_cpu_has_callbacks() to be removed, which allows the uses of "cpu" in both functions to be replaced with a this_cpu_ptr(). Again, the anticipated cross-CPU uses of these functions has been replaced by NO_HZ_FULL. Signed-off-by: Paul E. McKenney Reviewed-by: Pranith Kumar --- Reading git-diff-tree failed