summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 02:49:53 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 02:49:53 +0000
commitf9df27a905a3a067ccec2bc23d4c1f1e6db9000c (patch)
tree008e632e06826be196b9702ce9f47d3096a6b2f2 /libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h
parent657bc14240cde95ac1c99909df7c6ee0dd0159d4 (diff)
downloaduClibc-alpine-f9df27a905a3a067ccec2bc23d4c1f1e6db9000c.tar.bz2
uClibc-alpine-f9df27a905a3a067ccec2bc23d4c1f1e6db9000c.tar.xz
Sync up with glibc NPTL and clean up unused source files.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h b/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h
deleted file mode 100644
index 164a90dde..000000000
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Parameters for the Linux kernel ABI for CPU clocks. */
-
-#define CPUCLOCK_PID(clock) ((pid_t) ~((clock) >> 3))
-#define CPUCLOCK_PERTHREAD(clock) \
- (((clock) & (clockid_t) CPUCLOCK_PERTHREAD_MASK) != 0)
-#define CPUCLOCK_PID_MASK 7
-#define CPUCLOCK_PERTHREAD_MASK 4
-#define CPUCLOCK_WHICH(clock) ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK)
-#define CPUCLOCK_CLOCK_MASK 3
-#define CPUCLOCK_PROF 0
-#define CPUCLOCK_VIRT 1
-#define CPUCLOCK_SCHED 2
-#define CPUCLOCK_MAX 3
-
-#define MAKE_PROCESS_CPUCLOCK(pid, clock) \
- ((~(clockid_t) (pid) << 3) | (clockid_t) (clock))
-#define MAKE_THREAD_CPUCLOCK(tid, clock) \
- MAKE_PROCESS_CPUCLOCK((tid), (clock) | CPUCLOCK_PERTHREAD_MASK)