summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-05-12 00:14:39 +0200
committerRichard Weinberger <richard@nod.at>2015-05-31 17:32:03 +0200
commit1d04c8d77934d9406cc8219d97be2f0188f502d2 (patch)
tree50e9ef8c46bcc3b2ca1fd75feb1555c21aab69a4
parent7017f42f3a6c3222a6f2c26ca44ad07a958cd78d (diff)
um: Add uaccess.h to ldt.c
...for userspace memory access. Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--arch/x86/um/ldt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/um/ldt.c b/arch/x86/um/ldt.c
index 5c0b711d2433..9701a4fd7bf2 100644
--- a/arch/x86/um/ldt.c
+++ b/arch/x86/um/ldt.c
@@ -6,6 +6,7 @@
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/slab.h>
+#include <linux/uaccess.h>
#include <asm/unistd.h>
#include <os.h>
#include <skas.h>