blob: 6f3e54c704c00257a4180934bee801b488570d59 [file] [log] [blame]
Ingo Molnar9b5609f2008-02-14 09:41:09 +01001#ifndef _LINUX_STACKPROTECTOR_H
2#define _LINUX_STACKPROTECTOR_H 1
3
Ingo Molnar42059422008-02-14 09:44:08 +01004#include <linux/compiler.h>
5#include <linux/sched.h>
6#include <linux/random.h>
7
Ingo Molnar9b5609f2008-02-14 09:41:09 +01008#ifdef CONFIG_CC_STACKPROTECTOR
9# include <asm/stackprotector.h>
Ingo Molnar18aa8bb2008-02-14 09:42:02 +010010#else
11static inline void boot_init_stack_canary(void)
12{
13}
Ingo Molnar9b5609f2008-02-14 09:41:09 +010014#endif
15
16#endif