Commit 8fa5070
mm/memory: Use exception ip to search exception tables
On architectures with delay slot, instruction_pointer() may differ
from where exception was triggered.
Use exception_ip we just introduced to search exception tables to
get rid of the problem.
Fixes: 4bce37a ("mips/mm: Convert to using lock_mm_and_find_vma()")
Reported-by: Xi Ruoyao <xry111@xry111.site>
Link: https://lore.kernel.org/r/75e9fd7b08562ad9b456a5bdaacb7cc220311cc9.camel@xry111.site/
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>1 parent 9d6e21d commit 8fa5070
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5478 | 5478 | | |
5479 | 5479 | | |
5480 | 5480 | | |
5481 | | - | |
| 5481 | + | |
5482 | 5482 | | |
5483 | 5483 | | |
5484 | 5484 | | |
| |||
5503 | 5503 | | |
5504 | 5504 | | |
5505 | 5505 | | |
5506 | | - | |
| 5506 | + | |
5507 | 5507 | | |
5508 | 5508 | | |
5509 | 5509 | | |
| |||
0 commit comments