diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-07-11 13:12:32 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2013-08-14 11:12:46 -0400 |
commit | 65f382fd0c8fa483713c0971de9f1dfb4cf1ad9c (patch) | |
tree | dec89c43fcfb4934611bae4855293428382856b9 /init | |
parent | d84d27a491880b9902b45c09be8d9e9464fb9b74 (diff) |
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')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index d03d2ec2eacf..af310afbef28 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -75,6 +75,7 @@ | |||
75 | #include <linux/blkdev.h> | 75 | #include <linux/blkdev.h> |
76 | #include <linux/elevator.h> | 76 | #include <linux/elevator.h> |
77 | #include <linux/sched_clock.h> | 77 | #include <linux/sched_clock.h> |
78 | #include <linux/context_tracking.h> | ||
78 | 79 | ||
79 | #include <asm/io.h> | 80 | #include <asm/io.h> |
80 | #include <asm/bugs.h> | 81 | #include <asm/bugs.h> |
@@ -545,6 +546,7 @@ asmlinkage void __init start_kernel(void) | |||
545 | idr_init_cache(); | 546 | idr_init_cache(); |
546 | rcu_init(); | 547 | rcu_init(); |
547 | tick_nohz_init(); | 548 | tick_nohz_init(); |
549 | context_tracking_init(); | ||
548 | radix_tree_init(); | 550 | radix_tree_init(); |
549 | /* init some links before init_ISA_irqs() */ | 551 | /* init some links before init_ISA_irqs() */ |
550 | early_irq_init(); | 552 | early_irq_init(); |