diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-02-14 09:44:08 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-26 16:15:32 +0200 |
commit | 420594296838fdc9a674470d710cda7d1487f9f4 (patch) | |
tree | 2596b86ce8dcdfe3679964536efce45014bc6cf2 /init/main.c | |
parent | 18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f (diff) | |
download | op-kernel-dev-420594296838fdc9a674470d710cda7d1487f9f4.zip op-kernel-dev-420594296838fdc9a674470d710cda7d1487f9f4.tar.gz |
x86: fix the stackprotector canary of the boot CPU
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index a84322c..b44e4eb 100644 --- a/init/main.c +++ b/init/main.c @@ -546,6 +546,12 @@ asmlinkage void __init start_kernel(void) unwind_init(); lockdep_init(); debug_objects_early_init(); + + /* + * Set up the the initial canary ASAP: + */ + boot_init_stack_canary(); + cgroup_init_early(); local_irq_disable(); |