Message ID | 1328319922-30828-2-git-send-email-paulmck@linux.vnet.ibm.com |
---|---|
State | Accepted |
Commit | 18fec7d8758dd416904da205375e6fa667defc80 |
Headers | show |
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 6745846..73e7195 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h @@ -83,6 +83,7 @@ extern void rcu_sched_force_quiescent_state(void); /* A context switch is a grace period for RCU-sched and RCU-bh. */ static inline int rcu_blocking_is_gp(void) { + might_sleep(); /* Check for RCU read-side critical section. */ return num_online_cpus() == 1; }