diff options
author | Wladislav Wiebe <wladislav.kw@gmail.com> | 2014-06-17 09:30:53 -0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-06-25 19:49:38 -0400 |
commit | c152833949a07f3cde8fa1e34dec80614085a159 (patch) | |
tree | 609153fe76d11b19e388404d9df23da3eaa88216 /arch/powerpc/kernel | |
parent | 36a2a09d5770523fa82c31d48c676a5ff77944e5 (diff) |
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.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) | |||
609 | if (reason & MCSR_BUS_RBERR) | 609 | if (reason & MCSR_BUS_RBERR) |
610 | printk("Bus - Read Data Bus Error\n"); | 610 | printk("Bus - Read Data Bus Error\n"); |
611 | if (reason & MCSR_BUS_WBERR) | 611 | if (reason & MCSR_BUS_WBERR) |
612 | printk("Bus - Read Data Bus Error\n"); | 612 | printk("Bus - Write Data Bus Error\n"); |
613 | if (reason & MCSR_BUS_IPERR) | 613 | if (reason & MCSR_BUS_IPERR) |
614 | printk("Bus - Instruction Parity Error\n"); | 614 | printk("Bus - Instruction Parity Error\n"); |
615 | if (reason & MCSR_BUS_RPERR) | 615 | if (reason & MCSR_BUS_RPERR) |