diff options
author | John Stultz <johnstul@us.ibm.com> | 2009-07-03 13:29:58 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:30 (GMT) |
commit | d0af1a5f73371bb6f30bbbdb14a1dbec56751fac (patch) | |
tree | a48474c1259e4070aaa9a71d6f1bf12b5d01db1f /init | |
parent | 7118689f1749858fa999b08650327480cb760e5e (diff) | |
download | linux-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 'init')
-rw-r--r-- | init/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 1812218..c755a57 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> |