aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2013-07-11 19:12:32 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2013-08-14 17:12:46 +0200
commit65f382fd0c8fa483713c0971de9f1dfb4cf1ad9c (patch)
treedec89c43fcfb4934611bae4855293428382856b9 /init/main.c
parentd84d27a491880b9902b45c09be8d9e9464fb9b74 (diff)
downloadkernel_goldelico_gta04-65f382fd0c8fa483713c0971de9f1dfb4cf1ad9c.zip
kernel_goldelico_gta04-65f382fd0c8fa483713c0971de9f1dfb4cf1ad9c.tar.gz
kernel_goldelico_gta04-65f382fd0c8fa483713c0971de9f1dfb4cf1ad9c.tar.bz2
context_tracking: Ground setup for static key use
Prepare for using a static key in the context tracking subsystem. This will help optimizing the off case on its many users: * user_enter, user_exit, exception_enter, exception_exit, guest_enter, guest_exit, vtime_*() Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Li Zhong <zhong@linux.vnet.ibm.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index d03d2ec..af310af 100644
--- a/init/main.c
+++ b/init/main.c
@@ -75,6 +75,7 @@
#include <linux/blkdev.h>
#include <linux/elevator.h>
#include <linux/sched_clock.h>
+#include <linux/context_tracking.h>
#include <asm/io.h>
#include <asm/bugs.h>
@@ -545,6 +546,7 @@ asmlinkage void __init start_kernel(void)
idr_init_cache();
rcu_init();
tick_nohz_init();
+ context_tracking_init();
radix_tree_init();
/* init some links before init_ISA_irqs() */
early_irq_init();