diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-23 16:06:37 +0400 |
---|---|---|
committer | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-23 16:06:37 +0400 |
commit | 70ef56414ec7e01d787c8e959bb259845df4ee4f (patch) | |
tree | b59fbd9c1abdd5913074c28195005b72ad625d39 /arch/x86/mm/fault.c | |
parent | a80495ec927e8ec2b1ff085592bbe9bed77ffb3b (diff) | |
download | linux-70ef56414ec7e01d787c8e959bb259845df4ee4f.tar.xz |
x86: mm/fault.c declare do_page_fault before they get used
declared do_page_fault() in asm-x86/trap.h for both X86_32 and X86_64
removed do_invalid_op declaration from mm/fault.c as it is already declared in asm-x86/trap.h
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r-- | arch/x86/mm/fault.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 455f3fe67b42..8f92cac4e6db 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -35,6 +35,7 @@ #include <asm/tlbflush.h> #include <asm/proto.h> #include <asm-generic/sections.h> +#include <asm/traps.h> /* * Page fault error code bits @@ -357,8 +358,6 @@ static int is_errata100(struct pt_regs *regs, unsigned long address) return 0; } -void do_invalid_op(struct pt_regs *, unsigned long); - static int is_f00f_bug(struct pt_regs *regs, unsigned long address) { #ifdef CONFIG_X86_F00F_BUG |