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-23 09:01:15 +0200
commitaa571f61521ae9876e97c7f149090ee2a373e936 (patch)
treef69e5fb3cec98a3a6e0308e0b0bd6f43f6d19f9e /init
parenta2c99674f124b3eee1557bb45907856fcd3de796 (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 5340bf32dade..24ec43307350 100644
--- a/init/main.c
+++ b/init/main.c
@@ -539,6 +539,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();