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-05-14 18:38:10 (GMT)
commitdae47b59d3bc2488566afe08102abf2c2a109fec (patch)
tree19721d0233277a63c2e95210ff2a040206be3510 /init
parent59d5ee0f52333952e088117e8b0f542cc8b1cf5f (diff)
downloadlinux-fsl-qoriq-dae47b59d3bc2488566afe08102abf2c2a109fec.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>