/*1* Copyright (C) 2010, Tobias Klauser <[email protected]>2* Copyright (C) 2009, Wind River Systems Inc3* Implemented by [email protected] and [email protected]4*5* This file is subject to the terms and conditions of the GNU General Public6* License. See the file "COPYING" in the main directory of this archive7* for more details.8*/910#include <linux/extable.h>11#include <linux/uaccess.h>1213int fixup_exception(struct pt_regs *regs)14{15const struct exception_table_entry *fixup;1617fixup = search_exception_tables(regs->ea);18if (fixup) {19regs->ea = fixup->fixup;20return 1;21}2223return 0;24}252627