aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorDeepa Dinamani <deepa.kernel@gmail.com>2018-03-13 21:03:32 -0700
committerArnd Bergmann <arnd@arndb.de>2018-04-19 13:31:49 +0200
commit6d5b84132459c644cf4ee8de090382bad44b8ebd (patch)
tree6fe84f40dbdc8c6e89f4d065102d2611c656cc17 /include/linux/syscalls.h
parenttime: Fix get_timespec64() for y2038 safe compat interfaces (diff)
downloadlinux-dev-6d5b84132459c644cf4ee8de090382bad44b8ebd.tar.xz
linux-dev-6d5b84132459c644cf4ee8de090382bad44b8ebd.zip
time: Change types to new y2038 safe __kernel_* types
Change over clock_settime, clock_gettime and clock_getres syscalls to use __kernel_timespec times. This will enable changing over of these syscalls to use new y2038 safe syscalls when the architectures define the CONFIG_64BIT_TIME. Cc: linux-api@vger.kernel.org Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 70fcda1a9049..40bb40d1741b 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -567,11 +567,11 @@ asmlinkage long sys_timer_settime(timer_t timer_id, int flags,
struct itimerspec __user *old_setting);
asmlinkage long sys_timer_delete(timer_t timer_id);
asmlinkage long sys_clock_settime(clockid_t which_clock,
- const struct timespec __user *tp);
+ const struct __kernel_timespec __user *tp);
asmlinkage long sys_clock_gettime(clockid_t which_clock,
- struct timespec __user *tp);
+ struct __kernel_timespec __user *tp);
asmlinkage long sys_clock_getres(clockid_t which_clock,
- struct timespec __user *tp);
+ struct __kernel_timespec __user *tp);
asmlinkage long sys_clock_nanosleep(clockid_t which_clock, int flags,
const struct timespec __user *rqtp,
struct timespec __user *rmtp);