posix-clocks: Remove interval timer facility and mmap/fasync callbacks
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 May 2017 21:15:38 +0000 (23:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 4 Jun 2017 13:40:22 +0000 (15:40 +0200)
commit3a06c7ac24f9f24ec059cd77c2dbdf7fbfd0aaaf
tree840a255c75e7d5f400722236ff7ee4a13a73a779
parenta81129e5a189973abd661704b261f8aad9325407
posix-clocks: Remove interval timer facility and mmap/fasync callbacks

The only user of this facility is ptp_clock, which does not implement any of
those functions.

Remove them to prevent accidental users. Especially the interval timer
interfaces are now more or less impossible to implement because the
necessary infrastructure has been confined to the core code. Aside of that
it's really complex to make these callbacks implemented according to spec
as the alarm timer implementation demonstrates. If at all then a nanosleep
callback might be a reasonable extension. For now keep just what ptp_clock
needs.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/20170530211656.145036286@linutronix.de
include/linux/posix-clock.h
kernel/time/posix-clock.c