Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
mips
mm
extable.c
Go to the documentation of this file.
1
/*
2
* This file is subject to the terms and conditions of the GNU General Public
3
* License. See the file "COPYING" in the main directory of this archive
4
* for more details.
5
*
6
* Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle <
[email protected]
>
7
*/
8
#include <linux/module.h>
9
#include <
linux/spinlock.h
>
10
#include <
asm/branch.h
>
11
#include <asm/uaccess.h>
12
13
int
fixup_exception
(
struct
pt_regs
*
regs
)
14
{
15
const
struct
exception_table_entry
*
fixup
;
16
17
fixup =
search_exception_tables
(exception_epc(regs));
18
if
(fixup) {
19
regs->
cp0_epc
= fixup->
nextinsn
;
20
21
return
1;
22
}
23
24
return
0;
25
}
Generated on Thu Jan 10 2013 12:53:52 for Linux Kernel by
1.8.2