From: Paul E. McKenney Date: Fri, 16 Jan 2015 22:01:21 +0000 (-0800) Subject: rcu: Consolidate offline-CPU callback initialization X-Git-Tag: omap-for-v4.2/o2_dc~148^2~2^2^5~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b33078b6098148c3efdacc907249a247c9d5491e;p=pandora-kernel.git rcu: Consolidate offline-CPU callback initialization Currently, both rcu_cleanup_dead_cpu() and rcu_send_cbs_to_orphanage() initialize the outgoing CPU's callback list. However, only rcu_cleanup_dead_cpu() invokes rcu_send_cbs_to_orphanage(), and it does so unconditionally, which means that only one of these initializations is required. This commit therefore consolidates the callback-list initialization with the rest of the callback handling in rcu_send_cbs_to_orphanage(). Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed