/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle <[email protected]>6*/7#include <linux/module.h>8#include <linux/spinlock.h>9#include <asm/branch.h>10#include <asm/uaccess.h>1112int fixup_exception(struct pt_regs *regs)13{14const struct exception_table_entry *fixup;1516fixup = search_exception_tables(exception_epc(regs));17if (fixup) {18regs->cp0_epc = fixup->nextinsn;1920return 1;21}2223return 0;24}252627