lkml.org 
[lkml]   [2020]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] arm64: mm: add message to die() in die_kernel_fault()
Date
From: Yue Hu <huyue2@yulong.com>

Just to identify the kernel fault more clearly.

Signed-off-by: Yue Hu <huyue2@yulong.com>
---
arch/arm64/mm/fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c
index 8afb238..3a753c7 100644
--- a/arch/arm64/mm/fault.c
+++ b/arch/arm64/mm/fault.c
@@ -289,7 +289,7 @@ static void die_kernel_fault(const char *msg, unsigned long addr,
mem_abort_decode(esr);

show_pte(addr);
- die("Oops", regs, esr);
+ die("Oops - Page fault", regs, esr);
bust_spinlocks(0);
do_exit(SIGKILL);
}
--
1.9.1
\
 
 \ /
  Last update: 2020-07-30 13:48    [W:0.052 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site