lkml.org 
[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/26] rtmutex: Convert wait_lock and pi_lock to raw_spinlock
    Date
    Convert locks that cannot sleep in preempt-rt to raw_spinlocks.
    See d227cf76b6f51e3245f1b3f47720c3d7df4b68b0
    missing from d209d74d52ab39dc071656533cac095294f70de7

    Signed-off-by: John Kacur <jkacur@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


    \
     
     \ /
      Last update: 2010-01-11 22:31    [W:0.021 / U:1.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site