diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-01 08:51:48 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 09:28:14 -0500 |
commit | 26f9a4796af330173d790c8d2b5e2efcc489e755 (patch) | |
tree | a44b9dbfeedeb22d5f34ce49e4dd2b26cfbeaf97 /include/linux/posix-timers.h | |
parent | 79c9da0d0539fb341a1b48a2a5a23d974726de90 (diff) |
posix-timers: Convert clock_settime to clockid_to_kclock()
Use the new kclock decoding function in clock_settime and cleanup all
kclocks which use the default functions. Rename the misnomed
common_clock_set() to posix_clock_realtime_set().
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.518851246@linutronix.de>
Diffstat (limited to 'include/linux/posix-timers.h')
-rw-r--r-- | include/linux/posix-timers.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index cd6da067bce1..4aaf0c5c7cea 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h | |||
@@ -89,9 +89,6 @@ extern struct k_clock clock_posix_cpu; | |||
89 | 89 | ||
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 */ | ||
93 | int do_posix_clock_nosettime(const clockid_t, const struct timespec *tp); | ||
94 | |||
95 | /* function to call to trigger timer event */ | 92 | /* function to call to trigger timer event */ |
96 | int posix_timer_event(struct k_itimer *timr, int si_private); | 93 | int posix_timer_event(struct k_itimer *timr, int si_private); |
97 | 94 | ||