summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/fsys.S
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-02-28 20:46:05 +0100
committerJohn Stultz <john.stultz@linaro.org>2012-03-16 02:17:59 +0100
commit74a622be3db2898251cb524d1edbeaea589f2723 (patch)
treed54a6960bedd0176d7ff1f7dc3092df42d1917bd /arch/ia64/kernel/fsys.S
parentx86: vdso: Use seqcount instead of seqlock (diff)
downloadlinux-74a622be3db2898251cb524d1edbeaea589f2723.tar.xz
linux-74a622be3db2898251cb524d1edbeaea589f2723.zip
ia64: vsyscall: Use seqcount instead of seqlock
The update of the vdso data happens under xtime_lock, so adding a nested lock is pointless. Just use a seqcount to sync the readers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Tony Luck <tony.luck@intel.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/ia64/kernel/fsys.S')
-rw-r--r--arch/ia64/kernel/fsys.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/fsys.S b/arch/ia64/kernel/fsys.S
index 331d42bda77a..fa77de7032b3 100644
--- a/arch/ia64/kernel/fsys.S
+++ b/arch/ia64/kernel/fsys.S
@@ -174,7 +174,7 @@ ENTRY(fsys_set_tid_address)
FSYS_RETURN
END(fsys_set_tid_address)
-#if IA64_GTOD_LOCK_OFFSET !=0
+#if IA64_GTOD_SEQ_OFFSET !=0
#error fsys_gettimeofday incompatible with changes to struct fsyscall_gtod_data_t
#endif
#if IA64_ITC_JITTER_OFFSET !=0