]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/rcupdate.h
NLM: Ensure that nlmclnt_cancel_callback() doesn't loop forever
[linux-2.6-omap-h63xx.git] / include / linux / rcupdate.h
index a1d26cb28925dea07283800ff4a3888f79face2b..981f9aa433538a8ec2e8b0142da769b2e5a4dd87 100644 (file)
@@ -65,6 +65,10 @@ struct rcu_ctrlblk {
        long    cur;            /* Current batch number.                      */
        long    completed;      /* Number of the last completed batch         */
        int     next_pending;   /* Is the next batch already waiting?         */
+
+       spinlock_t      lock    ____cacheline_internodealigned_in_smp;
+       cpumask_t       cpumask; /* CPUs that need to switch in order    */
+                                /* for current batch to proceed.        */
 } ____cacheline_internodealigned_in_smp;
 
 /* Is batch a before batch b ? */