diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-05-24 14:08:08 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-05-24 15:22:17 +0200 |
commit | c4dbe54ed7296ac3249c415d512dd6d649f66f4b (patch) | |
tree | 7dcbce1bceccb31963869b347afbb86dfd11e709 /include/linux/seqlock.h | |
parent | d762f4383100c2a87b1a3f2d678cd3b5425655b4 (diff) | |
download | op-kernel-dev-c4dbe54ed7296ac3249c415d512dd6d649f66f4b.zip op-kernel-dev-c4dbe54ed7296ac3249c415d512dd6d649f66f4b.tar.gz |
seqlock: Get rid of SEQLOCK_UNLOCKED
All static seqlock should be initialized with the lockdep friendly
__SEQLOCK_UNLOCKED() macro.
Remove legacy SEQLOCK_UNLOCKED() macro.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Miller <davem@davemloft.net>
Link: http://lkml.kernel.org/r/%3C1306238888.3026.31.camel%40edumazet-laptop%3E
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/seqlock.h')
-rw-r--r-- | include/linux/seqlock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 06d6964..e981189 100644 --- a/include/linux/seqlock.h +++ b/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; \ |