]> git.neil.brown.name Git - history.git/commit
[PATCH] back out CPU clock additions to posix-timers
authorRoland McGrath <roland@redhat.com>
Tue, 21 Dec 2004 07:51:37 +0000 (23:51 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Dec 2004 07:51:37 +0000 (23:51 -0800)
commit727a4b9f4a7105f6fb21623c896c69a6b148bf6f
tree17119a42f4364ddca36b336dc7f5d4e60a403c63
parent2954a9c4ce173441b4e48ea1d45efba6ea64f49d
[PATCH] back out CPU clock additions to posix-timers

This patch reverts the additions of an ABI supporting thread and process
CPU clocks in the posix-timers code.  This returns us to 2.6.9's condition,
there is no support for any new clockid_t values for process CPU clocks.

This also fixes the return value for clock_nanosleep when unsupported (I
think this is used only by sgi-timer at the moment).  The POSIX-specified
code for valid clocks that don't support the sleep operation is ENOTSUP.
On most architectures the kernel doesn't define ENOTSUP and this name is
defined in userland the same as the kernel's EOPNOTSUPP.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/posix-timers.c