Explorar o código

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: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Paul E. McKenney %!s(int64=15) %!d(string=hai) anos
pai
achega
9161e329ef
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      arch/powerpc/mm/pgtable.c

+ 0 - 1
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)
 static void pte_free_submit(struct pte_freelist_batch *batch)
 {
 {
-	INIT_RCU_HEAD(&batch->rcu);
 	call_rcu(&batch->rcu, pte_free_rcu_callback);
 	call_rcu(&batch->rcu, pte_free_rcu_callback);
 }
 }