]> 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)
commitd6fd4f764ab7fe70457fcb0a545a4261f98d7baa
tree840a255c75e7d5f400722236ff7ee4a13a73a779
parentf70bf30ab5bf3b7b68640eb6a3f6c95c35e20128
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