Core updates for ....
Subsystems (4)
Linus,
Please pull the latest core-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus
Thanks,
tglx
------------------>
Eric Dumazet (1):
seqlock: Get rid of SEQLOCK_UNLOCKED
arch/ia64/kernel/time.c | 2 +- arch/x86/kernel/vsyscall_64.c | 2 +- include/linux/seqlock.h | 3 --- net/ipv4/inet_connection_sock.c | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-)
arch/ia64/kernel/time.c +1 -1
@@ -36,7 +36,7 @@static cycle_t itc_get_cycles (struct clocksource *cs);struct fsyscall_gtod_data_t fsyscall_gtod_data = { - .lock =SEQLOCK_UNLOCKED , + .lock =__SEQLOCK_UNLOCKED (fsyscall_gtod_data.lock), };struct itc_jitter_data_t itc_jitter_data;
arch/x86/kernel/vsyscall_64.c +1 -1
@@ -59,7 +59,7 @@ int __vgetcpu_mode __section_vgetcpu_mode; struct vsyscall_gtod_data __vsyscall_gtod_data __section_vsyscall_gtod_data = { - .lock =SEQLOCK_UNLOCKED , + .lock =__SEQLOCK_UNLOCKED (__vsyscall_gtod_data.lock), .sysctl_enabled =1 , };
include/linux/seqlock.h +0 -3
@@ -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; \
net/ipv4/inet_connection_sock.c +1 -1
@@ -33,7 +33,7 @@ EXPORT_SYMBOL(inet_csk_timer_bug_msg);* This struct holds the first and last local port number. */ struct local_ports sysctl_local_ports__read_mostly = { - .lock =SEQLOCK_UNLOCKED , + .lock =__SEQLOCK_UNLOCKED (sysctl_local_ports.lock), .range = {32768 ,61000 }, };