diff options
author | John Stultz <johnstul@us.ibm.com> | 2009-07-03 13:29:58 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-04-04 22:09:19 (GMT) |
commit | 8d295db46092fd19c8f8592461dfc6d0ac3ffaa5 (patch) | |
tree | 4c47560e91c7bb44672d68febd0ca064a94874fd /include/linux/sched.h | |
parent | 42b4e8d5f84744d513fd65b9b999b3badf76e92e (diff) | |
download | linux-fsl-qoriq-8d295db46092fd19c8f8592461dfc6d0ac3ffaa5.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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 3eed200..77f1fa5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1377,6 +1377,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 |