aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/posix-timers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r--include/linux/posix-timers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h
index 3e23844a6990..b2c14cbd47a6 100644
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -69,7 +69,8 @@ struct k_itimer {
69struct k_clock { 69struct k_clock {
70 int res; /* in nanoseconds */ 70 int res; /* in nanoseconds */
71 int (*clock_getres) (const clockid_t which_clock, struct timespec *tp); 71 int (*clock_getres) (const clockid_t which_clock, struct timespec *tp);
72 int (*clock_set) (const clockid_t which_clock, struct timespec * tp); 72 int (*clock_set) (const clockid_t which_clock,
73 const struct timespec *tp);
73 int (*clock_get) (const clockid_t which_clock, struct timespec * tp); 74 int (*clock_get) (const clockid_t which_clock, struct timespec * tp);
74 int (*timer_create) (struct k_itimer *timer); 75 int (*timer_create) (struct k_itimer *timer);
75 int (*nsleep) (const clockid_t which_clock, int flags, 76 int (*nsleep) (const clockid_t which_clock, int flags,
@@ -89,7 +90,7 @@ void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock);
89/* error handlers for timer_create, nanosleep and settime */ 90/* error handlers for timer_create, nanosleep and settime */
90int do_posix_clock_nonanosleep(const clockid_t, int flags, struct timespec *, 91int do_posix_clock_nonanosleep(const clockid_t, int flags, struct timespec *,
91 struct timespec __user *); 92 struct timespec __user *);
92int do_posix_clock_nosettime(const clockid_t, struct timespec *tp); 93int do_posix_clock_nosettime(const clockid_t, const struct timespec *tp);
93 94
94/* function to call to trigger timer event */ 95/* function to call to trigger timer event */
95int posix_timer_event(struct k_itimer *timr, int si_private); 96int posix_timer_event(struct k_itimer *timr, int si_private);