summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wsem.h
diff options
context:
space:
mode:
authorJose Abreu2017-08-29 11:14:20 +0200
committerVineet Gupta2017-09-01 20:26:29 +0200
commitaa7e3a5e8b63628c7fc131effc163ade08ced41b (patch)
treea831af6cd0134d6bed0c6a7619a74fb624d6d1a4 /lib/locking-selftest-wsem.h
parentARC: [plat-hsdk] initial port for HSDK board (diff)
downloadkernel-qcow2-linux-aa7e3a5e8b63628c7fc131effc163ade08ced41b.tar.gz
kernel-qcow2-linux-aa7e3a5e8b63628c7fc131effc163ade08ced41b.tar.xz
kernel-qcow2-linux-aa7e3a5e8b63628c7fc131effc163ade08ced41b.zip
ARC: Show fault information passed to show_kernel_fault_diag()
Currently we pass a string argument to show_kernel_fault_diag() which describes the reason for the fault. This is not being used so just add a pr_info() which outputs the fault information. With this change we get from: | | Path: /bin/busybox | CPU: 0 PID: 92 Comm: modprobe Not tainted 4.12.0-rc6 #30 | task: 9a254780 task.stack: 9a212000 | | [ECR ]: 0x00200400 => Other Fatal Err | to: | | Unhandled Machine Check Exception | Path: /bin/busybox | CPU: 0 PID: 92 Comm: modprobe Not tainted 4.12.0-rc6 #37 | task: 9a240780 task.stack: 9a226000 | |[ECR ]: 0x00200400 => Machine Check (Other Fatal Err) | Which can help debugging. Cc: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Jose Abreu <joabreu@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions