From: Paul E. McKenney Date: Wed, 22 Oct 2014 22:03:43 +0000 (-0700) Subject: rcu: Remove "cpu" argument to rcu_prepare_for_idle() X-Git-Tag: omap-for-v3.19/fixes-rc1~168^2^2^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198bbf8127dd2dec6661622981a4e1f9b8f967b7;p=pandora-kernel.git rcu: Remove "cpu" argument to rcu_prepare_for_idle() The "cpu" argument to rcu_prepare_for_idle() is always the current CPU, so drop it. This in turn allows two of the uses of "cpu" in this function to be replaced with a this_cpu_ptr() and the third by smp_processor_id(), replacing that of the call to rcu_prepare_for_idle(). 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