提交 88dd4a74 编写于 作者: A Al Viro

score: separate extable.h, switch module.h to it

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 29abfbd9
#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
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _ASM_SCORE_MODULE_H #define _ASM_SCORE_MODULE_H
#include <linux/list.h> #include <linux/list.h>
#include <asm/uaccess.h> #include <asm/extable.h>
#include <asm-generic/module.h> #include <asm-generic/module.h>
struct mod_arch_specific { struct mod_arch_specific {
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/thread_info.h> #include <linux/thread_info.h>
#include <asm/extable.h>
#define VERIFY_READ 0 #define VERIFY_READ 0
#define VERIFY_WRITE 1 #define VERIFY_WRITE 1
...@@ -420,12 +421,5 @@ static inline long strnlen_user(const char __user *str, long len) ...@@ -420,12 +421,5 @@ static inline long strnlen_user(const char __user *str, long len)
return __strnlen_user(str, 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 */ #endif /* __SCORE_UACCESS_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册