Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8bec2717
Commit
8bec2717
authored
Dec 25, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: add extable.h
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
fccfb995
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
arch/ia64/include/asm/extable.h
arch/ia64/include/asm/extable.h
+11
-0
arch/ia64/include/asm/uaccess.h
arch/ia64/include/asm/uaccess.h
+1
-7
arch/ia64/mm/extable.c
arch/ia64/mm/extable.c
+4
-1
No files found.
arch/ia64/include/asm/extable.h
0 → 100644
View file @
8bec2717
#ifndef _ASM_IA64_EXTABLE_H
#define _ASM_IA64_EXTABLE_H
#define ARCH_HAS_RELATIVE_EXTABLE
struct
exception_table_entry
{
int
insn
;
/* location-relative address of insn this fixup is for */
int
fixup
;
/* location-relative continuation addr.; if bit 2 is set, r9 is set to 0 */
};
#endif
arch/ia64/include/asm/uaccess.h
View file @
8bec2717
...
...
@@ -39,6 +39,7 @@
#include <asm/intrinsics.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/extable.h>
/*
* For historical reasons, the following macros are grossly misnamed:
...
...
@@ -341,13 +342,6 @@ extern unsigned long __strnlen_user (const char __user *, long);
__su_ret; \
})
#define ARCH_HAS_RELATIVE_EXTABLE
struct
exception_table_entry
{
int
insn
;
/* location-relative address of insn this fixup is for */
int
fixup
;
/* location-relative continuation addr.; if bit 2 is set, r9 is set to 0 */
};
#define ARCH_HAS_TRANSLATE_MEM_PTR 1
static
__inline__
void
*
xlate_dev_mem_ptr
(
phys_addr_t
p
)
...
...
arch/ia64/mm/extable.c
View file @
8bec2717
...
...
@@ -5,7 +5,10 @@
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
#include <linux/uaccess.h>
#include <asm/ptrace.h>
#include <asm/extable.h>
#include <asm/errno.h>
#include <asm/processor.h>
void
ia64_handle_exception
(
struct
pt_regs
*
regs
,
const
struct
exception_table_entry
*
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment