posix-timers: Add support for fd based clocks
authorRichard Cochran <richard.cochran@omicron.at>
Tue, 1 Feb 2011 13:52:32 +0000 (13:52 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:19 +0000 (15:28 +0100)
commit81e294cba2596f5f10848bbe19d98b344c2a2d5c
tree4334ced22eff475275a81f7e62f1f5e9df43a433
parentce26efdefa5e8f22d933df72d7f7482725091d6d
posix-timers: Add support for fd based clocks

Extend the negative clockids which are currently used by posix cpu
timers to encode the PID with a file descriptor based type which
encodes the fd in the upper bits.

Originally-from: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <20110201134420.062860200@linutronix.de>
include/linux/posix-timers.h
kernel/posix-timers.c