diff options
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 2270cfd1d6be..cca8a913ae7c 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -459,7 +459,7 @@ EXPORT_SYMBOL(warn_slowpath_null); | |||
459 | * Called when gcc's -fstack-protector feature is used, and | 459 | * Called when gcc's -fstack-protector feature is used, and |
460 | * gcc detects corruption of the on-stack canary value | 460 | * gcc detects corruption of the on-stack canary value |
461 | */ | 461 | */ |
462 | void __stack_chk_fail(void) | 462 | __visible void __stack_chk_fail(void) |
463 | { | 463 | { |
464 | panic("stack-protector: Kernel stack is corrupted in: %p\n", | 464 | panic("stack-protector: Kernel stack is corrupted in: %p\n", |
465 | __builtin_return_address(0)); | 465 | __builtin_return_address(0)); |