Prev: [PATCH 03/15] usbduxfast: Convert the semaphore mess
Next: [PATCH] Adding Intel Moorestown PMIC Battery Driver
From: John Kacur on 11 Jan 2010 16:30 Convert locks that cannot sleep in preempt-rt to raw_spinlocks. See d227cf76b6f51e3245f1b3f47720c3d7df4b68b0 missing from d209d74d52ab39dc071656533cac095294f70de7 Signed-off-by: John Kacur <jkacur(a)redhat.com> --- include/linux/rtmutex.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h index 281d8fd..ac76f7b 100644 --- a/include/linux/rtmutex.h +++ b/include/linux/rtmutex.h @@ -98,7 +98,7 @@ extern void rt_mutex_unlock(struct rt_mutex *lock); #ifdef CONFIG_RT_MUTEXES # define INIT_RT_MUTEXES(tsk) \ - .pi_waiters = PLIST_HEAD_INIT(tsk.pi_waiters, tsk.pi_lock), \ + .pi_waiters = PLIST_HEAD_INIT_RAW(tsk.pi_waiters, tsk.pi_lock), \ INIT_RT_MUTEX_DEBUG(tsk) #else # define INIT_RT_MUTEXES(tsk) -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |