From: Paul E. McKenney Date: Tue, 18 May 2010 07:56:03 +0000 (+0000) Subject: powerpc: Remove all rcu head initializations X-Git-Tag: upstream/snapshot3+hdmi~13775^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a591f6b56d6fbd7d1951e352fe5b0acf6b91e497;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git powerpc: Remove all rcu head initializations Remove all rcu head inits. We don't care about the RCU head state before passing it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can keep track of objects on stack. Signed-off-by: Mathieu Desnoyers Signed-off-by: Paul E. McKenney Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/pgtable.c b/arch/powerpc/mm/pgtable.c index ebc2f38..2c7e801 100644 --- a/arch/powerpc/mm/pgtable.c +++ b/arch/powerpc/mm/pgtable.c @@ -92,7 +92,6 @@ static void pte_free_rcu_callback(struct rcu_head *head) static void pte_free_submit(struct pte_freelist_batch *batch) { - INIT_RCU_HEAD(&batch->rcu); call_rcu(&batch->rcu, pte_free_rcu_callback); }