diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-01 14:51:45 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 15:28:14 +0100 |
commit | 79c9da0d0539fb341a1b48a2a5a23d974726de90 (patch) | |
tree | 9c13a5c5fb35b5f1fd92f6fe5875c549a6b6d1f0 /kernel/posix-timers.c | |
parent | thread_info: Remove legacy arg0-3 from restart_block (diff) | |
download | linux-79c9da0d0539fb341a1b48a2a5a23d974726de90.tar.xz linux-79c9da0d0539fb341a1b48a2a5a23d974726de90.zip |
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