diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2014-10-02 10:48:12 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-10-02 10:48:12 -0400 |
commit | 94fb1afbcb3e1f8666c9065baded2cb66e72126f (patch) | |
tree | e414f685c7bc7cd88468a0aa834141bec7928e23 /arch/tile/include | |
parent | bceb7efa6a7e656bfaa67b6f54925e7db75bcd52 (diff) |
tile: switch to using seqlocks for the vDSO time code
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include')
-rw-r--r-- | arch/tile/include/asm/vdso.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/tile/include/asm/vdso.h b/arch/tile/include/asm/vdso.h index 9f6a78d665fa..d64b0d58a7e9 100644 --- a/arch/tile/include/asm/vdso.h +++ b/arch/tile/include/asm/vdso.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #ifndef __TILE_VDSO_H__ | 15 | #ifndef __TILE_VDSO_H__ |
16 | #define __TILE_VDSO_H__ | 16 | #define __TILE_VDSO_H__ |
17 | 17 | ||
18 | #include <linux/seqlock.h> | ||
18 | #include <linux/types.h> | 19 | #include <linux/types.h> |
19 | 20 | ||
20 | /* | 21 | /* |
@@ -26,8 +27,8 @@ | |||
26 | */ | 27 | */ |
27 | 28 | ||
28 | struct vdso_data { | 29 | struct vdso_data { |
29 | __u64 tz_update_count; /* Timezone atomicity ctr */ | 30 | seqcount_t tz_seq; /* Timezone seqlock */ |
30 | __u64 tb_update_count; /* Timebase atomicity ctr */ | 31 | seqcount_t tb_seq; /* Timebase seqlock */ |
31 | __u64 xtime_tod_stamp; /* TOD clock for xtime */ | 32 | __u64 xtime_tod_stamp; /* TOD clock for xtime */ |
32 | __u64 xtime_clock_sec; /* Kernel time second */ | 33 | __u64 xtime_clock_sec; /* Kernel time second */ |
33 | __u64 xtime_clock_nsec; /* Kernel time nanosecond */ | 34 | __u64 xtime_clock_nsec; /* Kernel time nanosecond */ |