[PATCH 02/13] x86: Include linux/sched.h in asm/uaccess.h
From: Andi Kleen
Date: Fri Aug 09 2013 - 19:04:32 EST
From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
uaccess.h uses might_sleep, but there is currently no explicit include for this.
Since a upcoming patch moves might_sleep into sched.h include sched.h here.
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
arch/x86/include/asm/uaccess.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h
index 5ee2687..8fa3bd6 100644
--- a/arch/x86/include/asm/uaccess.h
+++ b/arch/x86/include/asm/uaccess.h
@@ -3,6 +3,7 @@
/*
* User space memory access functions
*/
+#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/compiler.h>
#include <linux/thread_info.h>
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/