|
|
| File: [Development] / linux-2.6-xfs / arch / mips / mm / extable.c (download)
Revision 1.3, Fri Mar 12 06:17:49 2004 UTC (13 years, 7 months ago) by nathans
Merge up to 2.6.4 |
/*
* 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;
}