diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-05-21 10:03:45 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-06-02 14:40:47 +0200 |
commit | 3434d23b694e5cb6e44e966914563406c31c4053 (patch) | |
tree | e382aa8d0a8603cc708650bc00336975632e220b /kernel/time/tick-broadcast.c | |
parent | clockevents: Do not suspend/resume if unused (diff) | |
download | linux-3434d23b694e5cb6e44e966914563406c31c4053.tar.xz linux-3434d23b694e5cb6e44e966914563406c31c4053.zip |
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>
Diffstat (limited to 'kernel/time/tick-broadcast.c')
0 files changed, 0 insertions, 0 deletions