summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-14 09:41:09 +0100
committerThomas Gleixner <tglx@linutronix.de>2008-05-26 16:15:32 +0200
commit9b5609fd773e6ac0b1d6d6e1bf68f32cca64e06b (patch)
tree8165d977065811518e7e0abc166ccb45f622146f /include
parent72370f2a5b227bd3817593a6b15ea3f53f51dfcb (diff)
downloadop-kernel-dev-9b5609fd773e6ac0b1d6d6e1bf68f32cca64e06b.zip
op-kernel-dev-9b5609fd773e6ac0b1d6d6e1bf68f32cca64e06b.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/stackprotector.h4
-rw-r--r--include/linux/stackprotector.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-x86/stackprotector.h b/include/asm-x86/stackprotector.h
new file mode 100644
index 0000000..dcac7a6
--- /dev/null
+++ b/include/asm-x86/stackprotector.h
@@ -0,0 +1,4 @@
+#ifndef _ASM_STACKPROTECTOR_H
+#define _ASM_STACKPROTECTOR_H 1
+
+#endif
diff --git a/include/linux/stackprotector.h b/include/linux/stackprotector.h
new file mode 100644
index 0000000..d3e8bbe
--- /dev/null
+++ b/include/linux/stackprotector.h
@@ -0,0 +1,8 @@
+#ifndef _LINUX_STACKPROTECTOR_H
+#define _LINUX_STACKPROTECTOR_H 1
+
+#ifdef CONFIG_CC_STACKPROTECTOR
+# include <asm/stackprotector.h>
+#endif
+
+#endif
OpenPOWER on IntegriCloud