diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-10-27 19:26:41 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-11-15 14:38:28 +0100 |
commit | 82210fc778982d9386e266fa5f0b52cde5c2f0cf (patch) | |
tree | 7fe91384fb13bb7c1286d74bdde9191b2544a522 /arch/ia64 | |
parent | ddccf40fe82b7ac7c44b186ec4b6d1d1bbc2cbff (diff) | |
download | linux-82210fc778982d9386e266fa5f0b52cde5c2f0cf.tar.gz linux-82210fc778982d9386e266fa5f0b52cde5c2f0cf.tar.bz2 linux-82210fc778982d9386e266fa5f0b52cde5c2f0cf.zip |
y2038: vdso: change timespec to __kernel_old_timespec
In order to remove 'timespec' completely from the kernel, all
internal uses should be converted to a y2038-safe type, while
those that are only for compatibity with existing user space
should be marked appropriately.
Change vdso to use __kernel_old_timespec in order to avoid
the deprecated type and mark these interfaces as outdated.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/asm-offsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c index 00e8e2a1eb19..fb0deb8a4221 100644 --- a/arch/ia64/kernel/asm-offsets.c +++ b/arch/ia64/kernel/asm-offsets.c @@ -211,7 +211,7 @@ void foo(void) offsetof (struct cpuinfo_ia64, ptce_stride)); BLANK(); DEFINE(IA64_TIMESPEC_TV_NSEC_OFFSET, - offsetof (struct timespec, tv_nsec)); + offsetof (struct __kernel_old_timespec, tv_nsec)); DEFINE(IA64_TIME_SN_SPEC_SNSEC_OFFSET, offsetof (struct time_sn_spec, snsec)); |