]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f8f4c3d15b397c8baaea7fad4687e0d2ac6d958
tree840a255c75e7d5f400722236ff7ee4a13a73a779
parentd9473c1122d9b7465b78b2c42834a02be932dd80
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