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
88dd4a74
Commit
88dd4a74
authored
Sep 05, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
score: separate extable.h, switch module.h to it
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
29abfbd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
arch/score/include/asm/extable.h
arch/score/include/asm/extable.h
+11
-0
arch/score/include/asm/module.h
arch/score/include/asm/module.h
+1
-1
arch/score/include/asm/uaccess.h
arch/score/include/asm/uaccess.h
+1
-7
No files found.
arch/score/include/asm/extable.h
0 → 100644
View file @
88dd4a74
#ifndef _ASM_SCORE_EXTABLE_H
#define _ASM_SCORE_EXTABLE_H
struct
exception_table_entry
{
unsigned
long
insn
;
unsigned
long
fixup
;
};
struct
pt_regs
;
extern
int
fixup_exception
(
struct
pt_regs
*
regs
);
#endif
arch/score/include/asm/module.h
View file @
88dd4a74
...
...
@@ -2,7 +2,7 @@
#define _ASM_SCORE_MODULE_H
#include <linux/list.h>
#include <asm/
uaccess
.h>
#include <asm/
extable
.h>
#include <asm-generic/module.h>
struct
mod_arch_specific
{
...
...
arch/score/include/asm/uaccess.h
View file @
88dd4a74
...
...
@@ -4,6 +4,7 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/thread_info.h>
#include <asm/extable.h>
#define VERIFY_READ 0
#define VERIFY_WRITE 1
...
...
@@ -420,12 +421,5 @@ static inline long strnlen_user(const char __user *str, long len)
return
__strnlen_user
(
str
,
len
);
}
struct
exception_table_entry
{
unsigned
long
insn
;
unsigned
long
fixup
;
};
extern
int
fixup_exception
(
struct
pt_regs
*
regs
);
#endif
/* __SCORE_UACCESS_H */
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