posix-cpu-timers: Remove the stub nanosleep functions
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Feb 2011 13:51:45 +0000 (13:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:14 +0000 (15:28 +0100)
commit79c9da0d0539fb341a1b48a2a5a23d974726de90
tree9c13a5c5fb35b5f1fd92f6fe5875c549a6b6d1f0
parentd608c18203a969e5d14572a9861c646d0bb66872
posix-cpu-timers: Remove the stub nanosleep functions

CLOCK_THREAD_CPUTIME_ID implements stub functions for nanosleep and
nanosleep_restart, which return -EINVAL. That return value is
wrong. The correct return value is -ENOTSUP.

Remove the stubs and let the new dispatch code return the correct
error code.

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.422446502@linutronix.de>
kernel/posix-cpu-timers.c