projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f88d2c
)
m68k/sun3: Fix instruction faults
author
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Sun, 11 Nov 2012 12:28:37 +0000
(13:28 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Wed, 14 Nov 2012 07:50:57 +0000
(08:50 +0100)
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>
arch/m68k/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/m68k/kernel/traps.c
b/arch/m68k/kernel/traps.c
index 388e5cc895990ec7d7d0e838f0f1de0d78f1105d..cbc624af4494dfcbf0d5516282697f3b9a92e9bf 100644
(file)
--- 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.d
addr, 1, 0))
+ if (!mmu_emu_handle_fault
(
addr, 1, 0))
do_page_fault (&fp->ptregs, addr, 0);
} else {
#ifdef DEBUG