Message ID | 1322523185-456-11-git-send-email-paulmck@linux.vnet.ibm.com |
---|---|
State | Accepted |
Commit | f0e7c19db8798b4b991a2c71911e71f5dfdb348f |
Headers | show |
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index aab9ed5..69bb372 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -607,7 +607,7 @@ int rcu_is_cpu_rrupt_from_idle(void) static int dyntick_save_progress_counter(struct rcu_data *rdp) { rdp->dynticks_snap = atomic_add_return(0, &rdp->dynticks->dynticks); - return 0; + return (rdp->dynticks_snap & 0x1) == 0; } /*