summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorJohn Stultz <johnstul@us.ibm.com>2009-07-03 13:29:58 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:30 (GMT)
commitd0af1a5f73371bb6f30bbbdb14a1dbec56751fac (patch)
treea48474c1259e4070aaa9a71d6f1bf12b5d01db1f /include/linux/sched.h
parent7118689f1749858fa999b08650327480cb760e5e (diff)
downloadlinux-fsl-qoriq-d0af1a5f73371bb6f30bbbdb14a1dbec56751fac.tar.xz
posix-timers: thread posix-cpu-timers on -rt
posix-cpu-timer code takes non -rt safe locks in hard irq context. Move it to a thread. [ 3.0 fixes from Peter Zijlstra <peterz@infradead.org> ] Signed-off-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index df30021..d4093f7 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1183,6 +1183,9 @@ struct task_struct {
struct task_cputime cputime_expires;
struct list_head cpu_timers[3];
+#ifdef CONFIG_PREEMPT_RT_BASE
+ struct task_struct *posix_timer_list;
+#endif
/* process credentials */
const struct cred __rcu *real_cred; /* objective and real subjective task