diff options
Diffstat (limited to 'arch/um/sys-x86_64/fault.c')
-rw-r--r-- | arch/um/sys-x86_64/fault.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/um/sys-x86_64/fault.c b/arch/um/sys-x86_64/fault.c index 79f37ef3dceb..ce85117fc64e 100644 --- a/arch/um/sys-x86_64/fault.c +++ b/arch/um/sys-x86_64/fault.c | |||
@@ -14,14 +14,15 @@ struct exception_table_entry | |||
14 | }; | 14 | }; |
15 | 15 | ||
16 | const struct exception_table_entry *search_exception_tables(unsigned long add); | 16 | const struct exception_table_entry *search_exception_tables(unsigned long add); |
17 | |||
17 | int arch_fixup(unsigned long address, struct uml_pt_regs *regs) | 18 | int arch_fixup(unsigned long address, struct uml_pt_regs *regs) |
18 | { | 19 | { |
19 | const struct exception_table_entry *fixup; | 20 | const struct exception_table_entry *fixup; |
20 | 21 | ||
21 | fixup = search_exception_tables(address); | 22 | fixup = search_exception_tables(address); |
22 | if(fixup != 0){ | 23 | if (fixup != 0) { |
23 | UPT_IP(regs) = fixup->fixup; | 24 | UPT_IP(regs) = fixup->fixup; |
24 | return(1); | 25 | return 1; |
25 | } | 26 | } |
26 | return(0); | 27 | return 0; |
27 | } | 28 | } |