summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-04-24 06:48:04 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-24 06:47:54 -0700
commit048c70075fecb8f92d923fc5595efa00f2a00082 (patch)
tree411ca7250cf154e90ae499613b56151be91fa637 /include/linux
parentf9849a4c579ba09648b94c5212e2af87e015b263 (diff)
parent883e3ea07e3b725c90e57bbf1200856d07b389ff (diff)
Merge "sched: Add a check for cpu unbound deferrable timers"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/timer.h b/include/linux/timer.h
index b1617e8932b2..1239c6ef949e 100644
--- a/include/linux/timer.h
+++ b/include/linux/timer.h
@@ -173,6 +173,9 @@ extern int mod_timer_pending(struct timer_list *timer, unsigned long expires);
extern int mod_timer_pinned(struct timer_list *timer, unsigned long expires);
extern void set_timer_slack(struct timer_list *time, int slack_hz);
+#ifdef CONFIG_SMP
+extern bool check_pending_deferrable_timers(int cpu);
+#endif
#define TIMER_NOT_PINNED 0
#define TIMER_PINNED 1