Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
88dd4a74
Commit
88dd4a74
authored
Sep 05, 2016
by
Al Viro
Browse files
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
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
Supports
Markdown
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