Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[linux-2.6] / include / linux / stackprotector.h
1 #ifndef _LINUX_STACKPROTECTOR_H
2 #define _LINUX_STACKPROTECTOR_H 1
3
4 #include <linux/compiler.h>
5 #include <linux/sched.h>
6 #include <linux/random.h>
7
8 #ifdef CONFIG_CC_STACKPROTECTOR
9 # include <asm/stackprotector.h>
10 #else
11 static inline void boot_init_stack_canary(void)
12 {
13 }
14 #endif
15
16 #endif