diff options
Diffstat (limited to 'arch/um/sys-i386')
-rw-r--r-- | arch/um/sys-i386/bug.c | 1 | ||||
-rw-r--r-- | arch/um/sys-i386/ldt.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/um/sys-i386/bug.c b/arch/um/sys-i386/bug.c index a4360b5207db..8d4f273f1219 100644 --- a/arch/um/sys-i386/bug.c +++ b/arch/um/sys-i386/bug.c | |||
@@ -4,6 +4,7 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/uaccess.h> | 6 | #include <linux/uaccess.h> |
7 | #include <asm/errno.h> | ||
7 | 8 | ||
8 | /* Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because | 9 | /* Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because |
9 | * that's not relevant in skas mode. | 10 | * that's not relevant in skas mode. |
diff --git a/arch/um/sys-i386/ldt.c b/arch/um/sys-i386/ldt.c index 67c0958eb984..505ed5c9a68d 100644 --- a/arch/um/sys-i386/ldt.c +++ b/arch/um/sys-i386/ldt.c | |||
@@ -3,8 +3,9 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/mm.h" | 6 | #include <linux/mm.h> |
7 | #include "asm/unistd.h" | 7 | #include <linux/sched.h> |
8 | #include <asm/unistd.h> | ||
8 | #include "os.h" | 9 | #include "os.h" |
9 | #include "proc_mm.h" | 10 | #include "proc_mm.h" |
10 | #include "skas.h" | 11 | #include "skas.h" |