aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/panic.c')
-rw-r--r--kernel/panic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 425567f45b9f..f236001cc4db 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -327,7 +327,8 @@ EXPORT_SYMBOL(warn_on_slowpath);
327 */ 327 */
328void __stack_chk_fail(void) 328void __stack_chk_fail(void)
329{ 329{
330 panic("stack-protector: Kernel stack is corrupted"); 330 panic("stack-protector: Kernel stack is corrupted in: %p\n",
331 __builtin_return_address(0));
331} 332}
332EXPORT_SYMBOL(__stack_chk_fail); 333EXPORT_SYMBOL(__stack_chk_fail);
333#endif 334#endif