diff options
-rw-r--r-- | include/linux/rcutree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 67458468f1a8..73e7195f9997 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h | |||
@@ -83,6 +83,7 @@ extern void rcu_sched_force_quiescent_state(void); | |||
83 | /* A context switch is a grace period for RCU-sched and RCU-bh. */ | 83 | /* A context switch is a grace period for RCU-sched and RCU-bh. */ |
84 | static inline int rcu_blocking_is_gp(void) | 84 | static inline int rcu_blocking_is_gp(void) |
85 | { | 85 | { |
86 | might_sleep(); /* Check for RCU read-side critical section. */ | ||
86 | return num_online_cpus() == 1; | 87 | return num_online_cpus() == 1; |
87 | } | 88 | } |
88 | 89 | ||