diff options
author | Wladislav Wiebe <wladislav.kw@gmail.com> | 2014-06-17 15:30:53 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-06-26 01:49:38 +0200 |
commit | c152833949a07f3cde8fa1e34dec80614085a159 (patch) | |
tree | 609153fe76d11b19e388404d9df23da3eaa88216 /arch/powerpc/kernel/traps.c | |
parent | powerpc/85xx: Add T4240RDB board support (diff) | |
download | linux-c152833949a07f3cde8fa1e34dec80614085a159.tar.xz linux-c152833949a07f3cde8fa1e34dec80614085a159.zip |
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/traps.c')
-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 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) |