From: Andreea-Cristina Bernat Date: Tue, 18 Mar 2014 18:48:48 +0000 (+0200) Subject: rcu: Consolidate kfree_call_rcu() to use rcu_state pointer X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~26^2^2~2^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=495aa969dbaef2e3d28094a2b3c752d069932748;p=pandora-kernel.git rcu: Consolidate kfree_call_rcu() to use rcu_state pointer kfree_call_rcu is defined two times. When defined under CONFIG_TREE_PREEMPT_RCU, it uses rcu_preempt_state. Otherwise, it uses rcu_sched_state. This patch uses the rcu_state_pointer to combine the two definitions into one. The resulting function is placed after the closing of the preprocessor conditional CONFIG_TREE_PREEMPT_RCU. Signed-off-by: Andreea-Cristina Bernat Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed