Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 88dd4a74 29abfbd9

+13 -8
+11
arch/score/include/asm/extable.h
··· 1 + #ifndef _ASM_SCORE_EXTABLE_H 2 + #define _ASM_SCORE_EXTABLE_H 3 + 4 + struct exception_table_entry { 5 + unsigned long insn; 6 + unsigned long fixup; 7 + }; 8 + 9 + struct pt_regs; 10 + extern int fixup_exception(struct pt_regs *regs); 11 + #endif
+1 -1
arch/score/include/asm/module.h
··· 2 2 #define _ASM_SCORE_MODULE_H 3 3 4 4 #include <linux/list.h> 5 - #include <asm/uaccess.h> 5 + #include <asm/extable.h> 6 6 #include <asm-generic/module.h> 7 7 8 8 struct mod_arch_specific {
+1 -7
arch/score/include/asm/uaccess.h
··· 4 4 #include <linux/kernel.h> 5 5 #include <linux/errno.h> 6 6 #include <linux/thread_info.h> 7 + #include <asm/extable.h> 7 8 8 9 #define VERIFY_READ 0 9 10 #define VERIFY_WRITE 1 ··· 420 419 else 421 420 return __strnlen_user(str, len); 422 421 } 423 - 424 - struct exception_table_entry { 425 - unsigned long insn; 426 - unsigned long fixup; 427 - }; 428 - 429 - extern int fixup_exception(struct pt_regs *regs); 430 422 431 423 #endif /* __SCORE_UACCESS_H */ 432 424