diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2012-11-11 12:28:37 (GMT) |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-11-14 07:50:57 (GMT) |
commit | 5fec45a20db3656ce36fac24639aac76c6641215 (patch) | |
tree | 862057b250251e45bee98c4543dcdf3209e96955 | |
parent | 7f88d2c0ad7995ab862ee6da5c77c37cf447b1b3 (diff) | |
download | linux-fsl-qoriq-5fec45a20db3656ce36fac24639aac76c6641215.tar.xz |
m68k/sun3: Fix instruction faults
We need to bring in the page where the instruction fault happened.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | arch/m68k/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c index 388e5cc..cbc624a 100644 --- a/arch/m68k/kernel/traps.c +++ b/arch/m68k/kernel/traps.c @@ -506,7 +506,7 @@ static inline void bus_error030 (struct frame *fp) addr -= 2; if (buserr_type & SUN3_BUSERR_INVALID) { - if (!mmu_emu_handle_fault (fp->un.fmtb.daddr, 1, 0)) + if (!mmu_emu_handle_fault(addr, 1, 0)) do_page_fault (&fp->ptregs, addr, 0); } else { #ifdef DEBUG |