]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/posix-timers.h
posix-timers: Add active flag to k_itimer
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 May 2017 21:15:48 +0000 (23:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 4 Jun 2017 13:40:26 +0000 (15:40 +0200)
commit21e55c1f83880a56360287c00f2b5cd5e5a4a912
treea67f1d2979fc4b850cef4d950fe80cb414d8a77e
parentf37fb0aa4f453c7c785bbcecc4991ac48c5c0e51
posix-timers: Add active flag to k_itimer

Keep track of the activation state of posix timers. This is a preparatory
change for making common_timer_get() usable by both hrtimer and alarm timer
implementations.

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.967783982@linutronix.de
include/linux/posix-timers.h
kernel/time/posix-timers.c