Commit e8730eab authored by Pekka Enberg's avatar Pekka Enberg Committed by Linus Torvalds

[PATCH] uml: compilation fix when MODE_SKAS disabled

  CC      arch/um/sys-i386/ldt.o
arch/um/sys-i386/ldt.c:19:21: proc_mm.h: No such file or directory
make[1]: *** [arch/um/sys-i386/ldt.o] Error 1
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1d0098b6
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "choose-mode.h" #include "choose-mode.h"
#include "kern.h" #include "kern.h"
#include "mode_kern.h" #include "mode_kern.h"
#include "proc_mm.h"
#include "os.h" #include "os.h"
extern int modify_ldt(int func, void *ptr, unsigned long bytecount); extern int modify_ldt(int func, void *ptr, unsigned long bytecount);
...@@ -90,6 +89,7 @@ static long do_modify_ldt_tt(int func, void __user *ptr, ...@@ -90,6 +89,7 @@ static long do_modify_ldt_tt(int func, void __user *ptr,
#include "skas.h" #include "skas.h"
#include "skas_ptrace.h" #include "skas_ptrace.h"
#include "asm/mmu_context.h" #include "asm/mmu_context.h"
#include "proc_mm.h"
long write_ldt_entry(struct mm_id * mm_idp, int func, struct user_desc * desc, long write_ldt_entry(struct mm_id * mm_idp, int func, struct user_desc * desc,
void **addr, int done) void **addr, int done)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment