lkml.org 
[lkml]   [2010]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 2/5] seqlock: Remove old style init
    Now that the last users of SEQLOCK_UNLOCKED are gone, remove it.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    include/linux/seqlock.h | 3 ---
    1 file changed, 3 deletions(-)

    Index: linux-2.6-tip/include/linux/seqlock.h
    ===================================================================
    --- linux-2.6-tip.orig/include/linux/seqlock.h
    +++ linux-2.6-tip/include/linux/seqlock.h
    @@ -41,9 +41,6 @@ typedef struct {
    #define __SEQLOCK_UNLOCKED(lockname) \
    { 0, __SPIN_LOCK_UNLOCKED(lockname) }

    -#define SEQLOCK_UNLOCKED \
    - __SEQLOCK_UNLOCKED(old_style_seqlock_init)
    -
    #define seqlock_init(x) \
    do { \
    (x)->sequence = 0; \



    \
     
     \ /
      Last update: 2010-02-17 19:51    [W:0.021 / U:0.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site