summaryrefslogtreecommitdiffstats
path: root/kernel/posix-timers.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-01 13:51:45 +0000
committerThomas Gleixner <tglx@linutronix.de>2011-02-02 15:28:14 +0100
commit79c9da0d0539fb341a1b48a2a5a23d974726de90 (patch)
tree9c13a5c5fb35b5f1fd92f6fe5875c549a6b6d1f0 /kernel/posix-timers.c
parentd608c18203a969e5d14572a9861c646d0bb66872 (diff)
downloadop-kernel-dev-79c9da0d0539fb341a1b48a2a5a23d974726de90.zip
op-kernel-dev-79c9da0d0539fb341a1b48a2a5a23d974726de90.tar.gz
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>
Diffstat (limited to 'kernel/posix-timers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud