summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-14 09:42:02 +0100
committerThomas Gleixner <tglx@linutronix.de>2008-05-26 16:15:32 +0200
commit18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f (patch)
tree2081f51b29106b05867c70ee71641ecc466147da /include/linux/stackprotector.h
parent9b5609fd773e6ac0b1d6d6e1bf68f32cca64e06b (diff)
downloadlinux-rpi-18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f.tar.gz
linux-rpi-18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f.tar.bz2
linux-rpi-18aa8bb12dcb10adc3d7c9d69714d53667c0ab7f.zip
stackprotector: add boot_init_stack_canary()
add the boot_init_stack_canary() and make the secondary idle threads use it. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/stackprotector.h')
-rw-r--r--include/linux/stackprotector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/stackprotector.h b/include/linux/stackprotector.h
index d3e8bbe602f8..422e71aafd0b 100644
--- a/include/linux/stackprotector.h
+++ b/include/linux/stackprotector.h
@@ -3,6 +3,10 @@
#ifdef CONFIG_CC_STACKPROTECTOR
# include <asm/stackprotector.h>
+#else
+static inline void boot_init_stack_canary(void)
+{
+}
#endif
#endif