Merge branch 'docs-next' of git://git.lwn.net/linux-2.6
[deliverable/linux.git] / kernel / rcutorture.c
index 2b676f3a0f2621953f37be4c8bd5232f7e17c6f2..6535ac8bc6a5935ceebd05ea24390e25b13fba41 100644 (file)
@@ -464,9 +464,11 @@ static void rcu_bh_torture_synchronize(void)
 {
        struct rcu_bh_torture_synchronize rcu;
 
+       init_rcu_head_on_stack(&rcu.head);
        init_completion(&rcu.completion);
        call_rcu_bh(&rcu.head, rcu_bh_torture_wakeme_after_cb);
        wait_for_completion(&rcu.completion);
+       destroy_rcu_head_on_stack(&rcu.head);
 }
 
 static struct rcu_torture_ops rcu_bh_ops = {
This page took 0.023528 seconds and 5 git commands to generate.