summaryrefslogtreecommitdiffstats
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-14 09:44:08 +0100
committerThomas Gleixner <tglx@linutronix.de>2008-05-26 16:15:32 +0200
commit420594296838fdc9a674470d710cda7d1487f9f4 (patch)
tree2596b86ce8dcdfe3679964536efce45014bc6cf2 /include/linux/stackprotector.h
parent18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f (diff)
downloadop-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 'include/linux/stackprotector.h')
-rw-r--r--include/linux/stackprotector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/stackprotector.h b/include/linux/stackprotector.h
index 422e71a..6f3e54c 100644
--- a/include/linux/stackprotector.h
+++ b/include/linux/stackprotector.h
@@ -1,6 +1,10 @@
#ifndef _LINUX_STACKPROTECTOR_H
#define _LINUX_STACKPROTECTOR_H 1
+#include <linux/compiler.h>
+#include <linux/sched.h>
+#include <linux/random.h>
+
#ifdef CONFIG_CC_STACKPROTECTOR
# include <asm/stackprotector.h>
#else
OpenPOWER on IntegriCloud