summaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorJohn Stultz <johnstul@us.ibm.com>2009-07-03 08:29:58 -0500
committerThomas Gleixner <tglx@linutronix.de>2009-07-29 23:30:36 +0200
commit14cbf680c340564ac33e3518bf6c110d08d93cc9 (patch)
treee734c5e7ca6b944e460f9565fc6237ab58f92cb7 /include/linux/init_task.h
parent3f79d2989e6f1fb3c67546bdecb4dca6a414b39e (diff)
downloadlwn-14cbf680c340564ac33e3518bf6c110d08d93cc9.tar.gz
lwn-14cbf680c340564ac33e3518bf6c110d08d93cc9.zip
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. Signed-off-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r--include/linux/init_task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index 91665bd3d5e1..0d2e6070a7d9 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -161,6 +161,7 @@ extern struct cred init_cred;
.fs_excl = ATOMIC_INIT(0), \
.pi_lock = __ATOMIC_SPIN_LOCK_UNLOCKED(tsk.pi_lock), \
.timer_slack_ns = 50000, /* 50 usec default slack */ \
+ .posix_timer_list = NULL, \
.pids = { \
[PIDTYPE_PID] = INIT_PID_LINK(PIDTYPE_PID), \
[PIDTYPE_PGID] = INIT_PID_LINK(PIDTYPE_PGID), \