diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-01 08:51:11 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 09:28:13 -0500 |
commit | a5cd2880106cb2c79b3fe24f1c53dadba6a542a0 (patch) | |
tree | aa0d44b790a38975ff4429e3de3564df92c7b15f /include/linux/posix-timers.h | |
parent | cc785ac22b17ed53e8ff5c1501e422be6d10be3c (diff) |
posix-timers: Convert clock_nanosleep to clockid_to_kclock()
Use the new kclock decoding function in clock_nanosleep and cleanup all
kclocks which use the default functions.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
Tested-by: Richard Cochran <richard.cochran@omicron.at>
LKML-Reference: <20110201134418.034175556@linutronix.de>
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r-- | include/linux/posix-timers.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index 1330ff331526..cd6da067bce1 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h | |||
@@ -90,8 +90,6 @@ extern struct k_clock clock_posix_cpu; | |||
90 | void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock); | 90 | void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock); |
91 | 91 | ||
92 | /* error handlers for timer_create, nanosleep and settime */ | 92 | /* error handlers for timer_create, nanosleep and settime */ |
93 | int do_posix_clock_nonanosleep(const clockid_t, int flags, struct timespec *, | ||
94 | struct timespec __user *); | ||
95 | int do_posix_clock_nosettime(const clockid_t, const struct timespec *tp); | 93 | int do_posix_clock_nosettime(const clockid_t, const struct timespec *tp); |
96 | 94 | ||
97 | /* function to call to trigger timer event */ | 95 | /* function to call to trigger timer event */ |