summaryrefslogtreecommitdiffstats
path: root/include/timer.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-12 15:46:55 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-12 16:41:25 +1100
commitb54d1a8cfc24b06a7649cc5e33aa704662716a28 (patch)
treeaca79bd1ebb2297a654a12c2bb83564f15cf86e4 /include/timer.h
parent0859f799583daa5fac57ab3f9a1175aae4de3252 (diff)
downloadblackbird-skiboot-b54d1a8cfc24b06a7649cc5e33aa704662716a28.tar.gz
blackbird-skiboot-b54d1a8cfc24b06a7649cc5e33aa704662716a28.zip
timer: Only check "poll" timers on actual poll, not any interrupt
Due to the lack of SLW timed interrupt support, we take the opportunity to check out timers on any incoming interrupt. However we really don't want to do that for the background pollers. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/timer.h')
-rw-r--r--include/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/timer.h b/include/timer.h
index 17965087..a1132e0b 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -78,7 +78,7 @@ extern void cancel_timer(struct timer *t);
extern void cancel_timer_async(struct timer *t);
/* Run the timers */
-extern void check_timers(void);
+extern void check_timers(bool from_interrupt);
/* Core init */
void late_init_timers(void);
OpenPOWER on IntegriCloud