diff options
author | Wladislav Wiebe <wladislav.kw@gmail.com> | 2014-06-17 13:30:53 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-06-25 23:49:38 (GMT) |
commit | c152833949a07f3cde8fa1e34dec80614085a159 (patch) | |
tree | 609153fe76d11b19e388404d9df23da3eaa88216 /arch | |
parent | 36a2a09d5770523fa82c31d48c676a5ff77944e5 (diff) | |
download | linux-c152833949a07f3cde8fa1e34dec80614085a159.tar.xz |
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')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 239f1cd..cb9cfe4 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) |