stackprotector: include files

create <linux/stackprotector.h> for core kernel files to include.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Ingo Molnar 2008-02-14 09:41:09 +01:00 committed by Thomas Gleixner
parent 72370f2a5b
commit 9b5609fd77
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#ifndef _ASM_STACKPROTECTOR_H
#define _ASM_STACKPROTECTOR_H 1
#endif

View File

@ -0,0 +1,8 @@
#ifndef _LINUX_STACKPROTECTOR_H
#define _LINUX_STACKPROTECTOR_H 1
#ifdef CONFIG_CC_STACKPROTECTOR
# include <asm/stackprotector.h>
#endif
#endif

View File

@ -14,6 +14,7 @@
#include <linux/proc_fs.h>
#include <linux/kernel.h>
#include <linux/syscalls.h>
#include <linux/stackprotector.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/delay.h>