summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJohn Stultz <johnstul@us.ibm.com>2009-07-03 13:29:58 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:19:08 (GMT)
commit9bdfce64a9098cef4aad43746aa4602a7b6f0963 (patch)
tree92feba3751348483961de7630c47825d5f3573f6 /init
parent73b8091420beccbc51530e3de906f4b26176bc1b (diff)
downloadlinux-fsl-qoriq-9bdfce64a9098cef4aad43746aa4602a7b6f0963.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 'init')
-rw-r--r--init/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 63d3e8f..33e96d2 100644
--- a/init/main.c
+++ b/init/main.c
@@ -6,7 +6,7 @@
* GK 2/5/95 - Changed to support mounting root fs via NFS
* Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96
* Moan early if gcc is old, avoiding bogus kernels - Paul Gortmaker, May '96
- * Simplified starting of init: Michael A. Griffith <grif@acm.org>
+ * Simplified starting of init: Michael A. Griffith <grif@acm.org>
*/
#define DEBUG /* Enable initcall_debug */
@@ -74,6 +74,7 @@
#include <linux/ptrace.h>
#include <linux/blkdev.h>
#include <linux/elevator.h>
+#include <linux/posix-timers.h>
#include <linux/sched_clock.h>
#include <linux/context_tracking.h>
#include <linux/random.h>