Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1528339 authored by Wladislav Wiebe's avatar Wladislav Wiebe Committed by Scott Wood
Browse files

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: default avatarWladislav Wiebe <wladislav.kw@gmail.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 36a2a09d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)