From: Paul E. McKenney Date: Tue, 21 Oct 2014 19:50:04 +0000 (-0700) Subject: rcu: Remove "cpu" argument to rcu_note_context_switch() X-Git-Tag: omap-for-v3.19/fixes-rc1~168^2^2^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38200cf24702e5d79ce6c8f4c62036c41845c62d;p=pandora-kernel.git rcu: Remove "cpu" argument to rcu_note_context_switch() The "cpu" argument to rcu_note_context_switch() is always the current CPU, so drop it. This in turn allows the "cpu" argument to rcu_preempt_note_context_switch() to be removed, which allows the sole use 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