diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-02-14 03:44:08 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-26 10:15:32 -0400 |
commit | 420594296838fdc9a674470d710cda7d1487f9f4 (patch) | |
tree | 2596b86ce8dcdfe3679964536efce45014bc6cf2 /include/linux/stackprotector.h | |
parent | 18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f (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 'include/linux/stackprotector.h')
-rw-r--r-- | include/linux/stackprotector.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/stackprotector.h b/include/linux/stackprotector.h index 422e71aafd0..6f3e54c704c 100644 --- a/include/linux/stackprotector.h +++ b/include/linux/stackprotector.h | |||
@@ -1,6 +1,10 @@ | |||
1 | #ifndef _LINUX_STACKPROTECTOR_H | 1 | #ifndef _LINUX_STACKPROTECTOR_H |
2 | #define _LINUX_STACKPROTECTOR_H 1 | 2 | #define _LINUX_STACKPROTECTOR_H 1 |
3 | 3 | ||
4 | #include <linux/compiler.h> | ||
5 | #include <linux/sched.h> | ||
6 | #include <linux/random.h> | ||
7 | |||
4 | #ifdef CONFIG_CC_STACKPROTECTOR | 8 | #ifdef CONFIG_CC_STACKPROTECTOR |
5 | # include <asm/stackprotector.h> | 9 | # include <asm/stackprotector.h> |
6 | #else | 10 | #else |