Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH 2/6] x86: Include linux/sched.h in asm/uaccess.h | Date | Fri, 16 Aug 2013 14:17:20 -0700 |
| |
From: Andi Kleen <ak@linux.intel.com>
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@linux.intel.com> --- 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
| |