Ingo Molnar | 9b5609fd | 2008-02-14 09:41:09 +0100 | [diff] [blame] | 1 | #ifndef _LINUX_STACKPROTECTOR_H |
2 | #define _LINUX_STACKPROTECTOR_H 1 | ||||
3 | |||||
4 | #ifdef CONFIG_CC_STACKPROTECTOR | ||||
5 | # include <asm/stackprotector.h> | ||||
Ingo Molnar | 18aa8bb | 2008-02-14 09:42:02 +0100 | [diff] [blame^] | 6 | #else |
7 | static inline void boot_init_stack_canary(void) | ||||
8 | { | ||||
9 | } | ||||
Ingo Molnar | 9b5609fd | 2008-02-14 09:41:09 +0100 | [diff] [blame] | 10 | #endif |
11 | |||||
12 | #endif |