diff options
Diffstat (limited to 'arch/um/sys-i386/ldt.c')
-rw-r--r-- | arch/um/sys-i386/ldt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/sys-i386/ldt.c b/arch/um/sys-i386/ldt.c index 762a12aec757..2683d302395d 100644 --- a/arch/um/sys-i386/ldt.c +++ b/arch/um/sys-i386/ldt.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include "asm/smp.h" | 12 | #include "asm/smp.h" |
13 | #include "asm/ldt.h" | 13 | #include "asm/ldt.h" |
14 | #include "asm/unistd.h" | 14 | #include "asm/unistd.h" |
15 | #include "choose-mode.h" | ||
16 | #include "kern.h" | 15 | #include "kern.h" |
17 | #include "mode_kern.h" | 16 | #include "mode_kern.h" |
18 | #include "os.h" | 17 | #include "os.h" |
@@ -506,6 +505,5 @@ void free_ldt(struct mmu_context_skas * mm) | |||
506 | 505 | ||
507 | int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount) | 506 | int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount) |
508 | { | 507 | { |
509 | return CHOOSE_MODE_PROC(do_modify_ldt_tt, do_modify_ldt_skas, func, | 508 | return do_modify_ldt_skas(func, ptr, bytecount); |
510 | ptr, bytecount); | ||
511 | } | 509 | } |