diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2013-12-02 04:03:52 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:47 (GMT) |
commit | b70f16d9012ebbd3328330f12b1875bd82739ced (patch) | |
tree | d0d54ebe39afb114182bdb6b4360f002b889e625 /kernel/sched | |
parent | 8544190d15148c5bdd617701f61284c81d55517a (diff) | |
download | linux-fsl-qoriq-b70f16d9012ebbd3328330f12b1875bd82739ced.tar.xz |
seqlock: consolidate spin_lock/unlock waiting with spin_unlock_wait
since c2f21ce ("locking: Implement new raw_spinlock")
include/linux/spinlock.h includes spin_unlock_wait() to wait for a concurren
holder of a lock. this patch just moves over to that API. spin_unlock_wait
covers both raw_spinlock_t and spinlock_t so it should be safe here as well.
the added rt-variant of read_seqbegin in include/linux/seqlock.h that is being
modified, was introduced by patch:
seqlock-prevent-rt-starvation.patch
behavior should be unchanged.
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions