diff options
Diffstat (limited to 'arch/um/kernel/trap.c')
-rw-r--r-- | arch/um/kernel/trap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/kernel/trap.c b/arch/um/kernel/trap.c index 8c7b8823d1f0..dafc94715950 100644 --- a/arch/um/kernel/trap.c +++ b/arch/um/kernel/trap.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/mm.h> | 6 | #include <linux/mm.h> |
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <linux/hardirq.h> | 8 | #include <linux/hardirq.h> |
9 | #include <linux/module.h> | ||
9 | #include <asm/current.h> | 10 | #include <asm/current.h> |
10 | #include <asm/pgtable.h> | 11 | #include <asm/pgtable.h> |
11 | #include <asm/tlbflush.h> | 12 | #include <asm/tlbflush.h> |
@@ -14,7 +15,6 @@ | |||
14 | #include "kern_util.h" | 15 | #include "kern_util.h" |
15 | #include "os.h" | 16 | #include "os.h" |
16 | #include "skas.h" | 17 | #include "skas.h" |
17 | #include "sysdep/sigcontext.h" | ||
18 | 18 | ||
19 | /* | 19 | /* |
20 | * Note this is constrained to return 0, -EFAULT, -EACCESS, -ENOMEM by | 20 | * Note this is constrained to return 0, -EFAULT, -EACCESS, -ENOMEM by |
@@ -112,6 +112,7 @@ out_of_memory: | |||
112 | pagefault_out_of_memory(); | 112 | pagefault_out_of_memory(); |
113 | return 0; | 113 | return 0; |
114 | } | 114 | } |
115 | EXPORT_SYMBOL(handle_page_fault); | ||
115 | 116 | ||
116 | static void show_segv_info(struct uml_pt_regs *regs) | 117 | static void show_segv_info(struct uml_pt_regs *regs) |
117 | { | 118 | { |