diff options
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 866be9b72e4f..6729e3f4ebcb 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -325,6 +325,9 @@ EXPORT_SYMBOL(warn_on_slowpath); | |||
325 | 325 | ||
326 | #ifdef CONFIG_CC_STACKPROTECTOR | 326 | #ifdef CONFIG_CC_STACKPROTECTOR |
327 | 327 | ||
328 | #ifndef GCC_HAS_SP | ||
329 | #warning You have selected the CONFIG_CC_STACKPROTECTOR option, but the gcc used does not support this. | ||
330 | #endif | ||
328 | static unsigned long __stack_check_testing; | 331 | static unsigned long __stack_check_testing; |
329 | /* | 332 | /* |
330 | * Self test function for the stack-protector feature. | 333 | * Self test function for the stack-protector feature. |