summaryrefslogtreecommitdiffstats
path: root/librt/kernel-posix-cpu-timers.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-29 04:01:23 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-29 04:01:23 +0000
commita59b354f62710a795eb1675bab89047ad1618e3b (patch)
treed212209de762886835ae63c9d1dcb161628de6d8 /librt/kernel-posix-cpu-timers.h
parent2d9da2f6be3e662889ef0e72759fe0f1a1495812 (diff)
downloaduClibc-alpine-a59b354f62710a795eb1675bab89047ad1618e3b.tar.bz2
uClibc-alpine-a59b354f62710a795eb1675bab89047ad1618e3b.tar.xz
Merge from trunk.
Diffstat (limited to 'librt/kernel-posix-cpu-timers.h')
-rw-r--r--librt/kernel-posix-cpu-timers.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/librt/kernel-posix-cpu-timers.h b/librt/kernel-posix-cpu-timers.h
deleted file mode 100644
index 164a90dde..000000000
--- a/librt/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)