mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
m68k/sun3: Fix instruction faults
We need to bring in the page where the instruction fault happened. Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]>
This commit is contained in:
parent
7f88d2c0ad
commit
5fec45a20d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue