diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-01 08:51:45 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 09:28:14 -0500 |
commit | 79c9da0d0539fb341a1b48a2a5a23d974726de90 (patch) | |
tree | 9c13a5c5fb35b5f1fd92f6fe5875c549a6b6d1f0 /include/linux/posix-timers.h | |
parent | d608c18203a969e5d14572a9861c646d0bb66872 (diff) |
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 'include/linux/posix-timers.h')
0 files changed, 0 insertions, 0 deletions