diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/seqlock.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 142c0f7..019a936 100644 --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -236,8 +236,7 @@ repeat: * Take the lock and let the writer proceed (i.e. evtl * boost it), otherwise we could loop here forever. */ - spin_lock(&sl->lock); - spin_unlock(&sl->lock); + spin_unlock_wait(&sl->lock); goto repeat; } return ret; |