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
unicore32
mm
extable.c
Go to the documentation of this file.
1
/*
2
* linux/arch/unicore32/mm/extable.c
3
*
4
* Code specific to PKUnity SoC and UniCore ISA
5
*
6
* Copyright (C) 2001-2010 GUAN Xue-tao
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License version 2 as
10
* published by the Free Software Foundation.
11
*/
12
#include <linux/module.h>
13
#include <
linux/uaccess.h
>
14
15
int
fixup_exception
(
struct
pt_regs
*
regs
)
16
{
17
const
struct
exception_table_entry
*
fixup
;
18
19
fixup =
search_exception_tables
(
instruction_pointer
(regs));
20
if
(fixup)
21
regs->UCreg_pc = fixup->
fixup
;
22
23
return
fixup !=
NULL
;
24
}
Generated on Thu Jan 10 2013 12:53:53 for Linux Kernel by
1.8.2