summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/fsyscall_gtod_data.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-02-28 19:46:05 +0000
committerJohn Stultz <john.stultz@linaro.org>2012-03-15 18:17:59 -0700
commit74a622be3db2898251cb524d1edbeaea589f2723 (patch)
treed54a6960bedd0176d7ff1f7dc3092df42d1917bd /arch/ia64/kernel/fsyscall_gtod_data.h
parent2ab516575f2f273b19d95140d02c54612201e80a (diff)
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/fsyscall_gtod_data.h')
-rw-r--r--arch/ia64/kernel/fsyscall_gtod_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/fsyscall_gtod_data.h b/arch/ia64/kernel/fsyscall_gtod_data.h
index 57d2ee6c83e1..146b15b5fec3 100644
--- a/arch/ia64/kernel/fsyscall_gtod_data.h
+++ b/arch/ia64/kernel/fsyscall_gtod_data.h
@@ -6,7 +6,7 @@
*/
struct fsyscall_gtod_data_t {
- seqlock_t lock;
+ seqcount_t seq;
struct timespec wall_time;
struct timespec monotonic_time;
cycle_t clk_mask;