You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
22 lines
366 B
C
22 lines
366 B
C
|
|
/*
|
||
|
|
* linux/arch/mips/mm/extable.c
|
||
|
|
*/
|
||
|
|
#include <linux/module.h>
|
||
|
|
#include <linux/spinlock.h>
|
||
|
|
#include <asm/branch.h>
|
||
|
|
#include <asm/uaccess.h>
|
||
|
|
|
||
|
|
int fixup_exception(struct pt_regs *regs)
|
||
|
|
{
|
||
|
|
const struct exception_table_entry *fixup;
|
||
|
|
|
||
|
|
fixup = search_exception_tables(exception_epc(regs));
|
||
|
|
if (fixup) {
|
||
|
|
regs->cp0_epc = fixup->nextinsn;
|
||
|
|
|
||
|
|
return 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|