Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/m32r/mm/extable.c
10817 views
1
/*
2
* linux/arch/m32r/mm/extable.c
3
*/
4
5
#include <linux/module.h>
6
#include <asm/uaccess.h>
7
8
int fixup_exception(struct pt_regs *regs)
9
{
10
const struct exception_table_entry *fixup;
11
12
fixup = search_exception_tables(regs->bpc);
13
if (fixup) {
14
regs->bpc = fixup->fixup;
15
return 1;
16
}
17
18
return 0;
19
}
20
21