aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/extable_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/extable_32.c')
-rw-r--r--arch/x86/mm/extable_32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/extable_32.c b/arch/x86/mm/extable_32.c
index 0ce4f22a2635..41685461f8b2 100644
--- a/arch/x86/mm/extable_32.c
+++ b/arch/x86/mm/extable_32.c
@@ -11,7 +11,7 @@ int fixup_exception(struct pt_regs *regs)
11 const struct exception_table_entry *fixup; 11 const struct exception_table_entry *fixup;
12 12
13#ifdef CONFIG_PNPBIOS 13#ifdef CONFIG_PNPBIOS
14 if (unlikely(SEGMENT_IS_PNP_CODE(regs->xcs))) 14 if (unlikely(SEGMENT_IS_PNP_CODE(regs->cs)))
15 { 15 {
16 extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp; 16 extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp;
17 extern u32 pnp_bios_is_utter_crap; 17 extern u32 pnp_bios_is_utter_crap;
@@ -25,9 +25,9 @@ int fixup_exception(struct pt_regs *regs)
25 } 25 }
26#endif 26#endif
27 27
28 fixup = search_exception_tables(regs->eip); 28 fixup = search_exception_tables(regs->ip);
29 if (fixup) { 29 if (fixup) {
30 regs->eip = fixup->fixup; 30 regs->ip = fixup->fixup;
31 return 1; 31 return 1;
32 } 32 }
33 33