aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-01-01 11:34:39 -0500
committerArnd Bergmann <arnd@arndb.de>2019-02-06 18:13:27 -0500
commit50b93f30f6d8672f9ec80e90af94d733f11a20e0 (patch)
tree0fcdb82b10148944e4b2780639728905be54a1b9
parent2c620ff93d9fbd5d644760d4c21d389078ec1080 (diff)
time: fix sys_timer_settime prototype
A small typo has crept into the y2038 conversion of the timer_settime system call. So far this was completely harmless, but once we start using the new version, this has to be fixed. Fixes: 6ff847350702 ("time: Change types to new y2038 safe __kernel_itimerspec") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--include/linux/syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 938d8908b9e0..baa4b70b02d3 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -591,7 +591,7 @@ asmlinkage long sys_timer_gettime(timer_t timer_id,
591asmlinkage long sys_timer_getoverrun(timer_t timer_id); 591asmlinkage long sys_timer_getoverrun(timer_t timer_id);
592asmlinkage long sys_timer_settime(timer_t timer_id, int flags, 592asmlinkage long sys_timer_settime(timer_t timer_id, int flags,
593 const struct __kernel_itimerspec __user *new_setting, 593 const struct __kernel_itimerspec __user *new_setting,
594 struct itimerspec __user *old_setting); 594 struct __kernel_itimerspec __user *old_setting);
595asmlinkage long sys_timer_delete(timer_t timer_id); 595asmlinkage long sys_timer_delete(timer_t timer_id);
596asmlinkage long sys_clock_settime(clockid_t which_clock, 596asmlinkage long sys_clock_settime(clockid_t which_clock,
597 const struct __kernel_timespec __user *tp); 597 const struct __kernel_timespec __user *tp);