diff options
Diffstat (limited to 'kernel/srcu.c')
-rw-r--r-- | kernel/srcu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/srcu.c b/kernel/srcu.c index c9d003bc6c49..3e43a214b4dc 100644 --- a/kernel/srcu.c +++ b/kernel/srcu.c | |||
@@ -421,6 +421,7 @@ static void __synchronize_srcu(struct srcu_struct *sp, int trycount) | |||
421 | !lock_is_held(&rcu_sched_lock_map), | 421 | !lock_is_held(&rcu_sched_lock_map), |
422 | "Illegal synchronize_srcu() in same-type SRCU (or RCU) read-side critical section"); | 422 | "Illegal synchronize_srcu() in same-type SRCU (or RCU) read-side critical section"); |
423 | 423 | ||
424 | might_sleep(); | ||
424 | init_completion(&rcu.completion); | 425 | init_completion(&rcu.completion); |
425 | 426 | ||
426 | head->next = NULL; | 427 | head->next = NULL; |