]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clockevents: Add helpers to check the state of a clockevent device
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 May 2015 08:03:45 +0000 (13:33 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:29:09 +0000 (18:29 -0800)
commit3ccbfe83cd8b6ac5ef73fc4d49443cf4ac24f4bb
tree6fa8ec181d38113c1b973a00d8b90eee24c6b33d
parent74a6d74316e06afa032d7892f997d9bd82b3d5a3
clockevents: Add helpers to check the state of a clockevent device

Some clockevent drivers, once migrated to use per-state callbacks,
need to check the state of the clockevent device in their callbacks or
interrupt handler.

Add accessor functions clockevent_state_*() to get this information.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linaro-kernel@lists.linaro.org
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/04a717d490335c688dd7af899fbcede97e1bb8ee.1432192527.git.viresh.kumar@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
(cherry picked from commit 3434d23b694e5cb6e44e966914563406c31c4053)

As hv drivers depends on it
Orabug: 21886720
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
include/linux/clockchips.h