mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
powerpc/traps/e500: fix misleading error output
In machine_check_e500 exception handler is a wrong indication in case of MCSR_BUS_WBERR - so print "Write" instead of "Read". Signed-off-by: Wladislav Wiebe <wladislav.kw@gmail.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
committed by
Scott Wood
parent
36a2a09d57
commit
c152833949
@@ -609,7 +609,7 @@ int machine_check_e500(struct pt_regs *regs)
|
||||
if (reason & MCSR_BUS_RBERR)
|
||||
printk("Bus - Read Data Bus Error\n");
|
||||
if (reason & MCSR_BUS_WBERR)
|
||||
printk("Bus - Read Data Bus Error\n");
|
||||
printk("Bus - Write Data Bus Error\n");
|
||||
if (reason & MCSR_BUS_IPERR)
|
||||
printk("Bus - Instruction Parity Error\n");
|
||||
if (reason & MCSR_BUS_RPERR)
|
||||
|
||||
Reference in New Issue
Block a user