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 /drivers/char | |
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 'drivers/char')
-rw-r--r-- | drivers/char/mmtimer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index fd51cd8ee063..262d10453cb8 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -768,7 +768,6 @@ static struct k_clock sgi_clock = { | |||
768 | .clock_set = sgi_clock_set, | 768 | .clock_set = sgi_clock_set, |
769 | .clock_get = sgi_clock_get, | 769 | .clock_get = sgi_clock_get, |
770 | .timer_create = sgi_timer_create, | 770 | .timer_create = sgi_timer_create, |
771 | .nsleep = do_posix_clock_nonanosleep, | ||
772 | .timer_set = sgi_timer_set, | 771 | .timer_set = sgi_timer_set, |
773 | .timer_del = sgi_timer_del, | 772 | .timer_del = sgi_timer_del, |
774 | .timer_get = sgi_timer_get | 773 | .timer_get = sgi_timer_get |