diff options
Diffstat (limited to 'include/asm-x86/traps.h')
| -rw-r--r-- | include/asm-x86/traps.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/asm-x86/traps.h b/include/asm-x86/traps.h index a4b65a71bd66..2ccebc6fb0b0 100644 --- a/include/asm-x86/traps.h +++ b/include/asm-x86/traps.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #ifndef _ASM_X86_TRAPS_H | 1 | #ifndef ASM_X86__TRAPS_H |
| 2 | #define _ASM_X86_TRAPS_H | 2 | #define ASM_X86__TRAPS_H |
| 3 | 3 | ||
| 4 | /* Common in X86_32 and X86_64 */ | 4 | /* Common in X86_32 and X86_64 */ |
| 5 | asmlinkage void divide_error(void); | 5 | asmlinkage void divide_error(void); |
| @@ -51,6 +51,8 @@ void do_spurious_interrupt_bug(struct pt_regs *, long); | |||
| 51 | unsigned long patch_espfix_desc(unsigned long, unsigned long); | 51 | unsigned long patch_espfix_desc(unsigned long, unsigned long); |
| 52 | asmlinkage void math_emulate(long); | 52 | asmlinkage void math_emulate(long); |
| 53 | 53 | ||
| 54 | void do_page_fault(struct pt_regs *regs, unsigned long error_code); | ||
| 55 | |||
| 54 | #else /* CONFIG_X86_32 */ | 56 | #else /* CONFIG_X86_32 */ |
| 55 | 57 | ||
| 56 | asmlinkage void double_fault(void); | 58 | asmlinkage void double_fault(void); |
| @@ -62,5 +64,7 @@ asmlinkage void do_coprocessor_error(struct pt_regs *); | |||
| 62 | asmlinkage void do_simd_coprocessor_error(struct pt_regs *); | 64 | asmlinkage void do_simd_coprocessor_error(struct pt_regs *); |
| 63 | asmlinkage void do_spurious_interrupt_bug(struct pt_regs *); | 65 | asmlinkage void do_spurious_interrupt_bug(struct pt_regs *); |
| 64 | 66 | ||
| 67 | asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code); | ||
| 68 | |||
| 65 | #endif /* CONFIG_X86_32 */ | 69 | #endif /* CONFIG_X86_32 */ |
| 66 | #endif /* _ASM_X86_TRAPS_H */ | 70 | #endif /* ASM_X86__TRAPS_H */ |
