summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorWladislav Wiebe <wladislav.kw@gmail.com>2014-06-17 15:30:53 +0200
committerScott Wood <scottwood@freescale.com>2014-06-25 18:49:38 -0500
commitc152833949a07f3cde8fa1e34dec80614085a159 (patch)
tree609153fe76d11b19e388404d9df23da3eaa88216 /arch/powerpc/kernel
parent36a2a09d5770523fa82c31d48c676a5ff77944e5 (diff)
downloadlinux-c152833949a07f3cde8fa1e34dec80614085a159.tar.gz
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>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 239f1cde3fff..cb9cfe448ee8 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -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)