aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/segment.h')
-rw-r--r--arch/x86/include/asm/segment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/segment.h b/arch/x86/include/asm/segment.h
index 8f09012b92e7..e293c122d0d5 100644
--- a/arch/x86/include/asm/segment.h
+++ b/arch/x86/include/asm/segment.h
@@ -146,7 +146,7 @@
146# define __KERNEL_PERCPU 0 146# define __KERNEL_PERCPU 0
147#endif 147#endif
148 148
149#ifdef CONFIG_CC_STACKPROTECTOR 149#ifdef CONFIG_STACKPROTECTOR
150# define __KERNEL_STACK_CANARY (GDT_ENTRY_STACK_CANARY*8) 150# define __KERNEL_STACK_CANARY (GDT_ENTRY_STACK_CANARY*8)
151#else 151#else
152# define __KERNEL_STACK_CANARY 0 152# define __KERNEL_STACK_CANARY 0