diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2012-11-11 13:28:37 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-11-14 08:50:57 +0100 |
commit | 5fec45a20db3656ce36fac24639aac76c6641215 (patch) | |
tree | 862057b250251e45bee98c4543dcdf3209e96955 /arch/m68k/kernel | |
parent | 7f88d2c0ad7995ab862ee6da5c77c37cf447b1b3 (diff) | |
download | linux-5fec45a20db3656ce36fac24639aac76c6641215.tar.gz linux-5fec45a20db3656ce36fac24639aac76c6641215.tar.bz2 linux-5fec45a20db3656ce36fac24639aac76c6641215.zip |
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>
Diffstat (limited to 'arch/m68k/kernel')
-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 388e5cc89599..cbc624af4494 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 |