summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-14 09:44:08 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:20:00 +0200
commite1fc37c0d0f43784c0801dcfe8d32e84f07b3bb1 (patch)
tree92e64cd24efe9be58ffef658549014098d19f538 /init
parentef4dc67b390ef595c3bc53aafd4685b8a4a31c58 (diff)
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')
-rw-r--r--init/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 37e0ef8e49a5..b9c4f55b938d 100644
--- a/init/main.c
+++ b/init/main.c
@@ -518,6 +518,12 @@ asmlinkage void __init start_kernel(void)
*/
unwind_init();
lockdep_init();
+
+ /*
+ * Set up the the initial canary ASAP:
+ */
+ boot_init_stack_canary();
+
cgroup_init_early();
local_irq_disable();