Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MN10300: asm/uaccess.h needs to #include linux/kernel.h for might_sle…
…ep() MN10300's asm/uaccess.h needs to #include linux/kernel.h to get might_sleep() otherwise it fails to build on MN10300 allyesconfig. This fails in a few places with messages like the following: In file included from security/keys/trusted.c:14: include/linux/uaccess.h: In function '__copy_from_user_nocache': include/linux/uaccess.h:52: error: implicit declaration of function 'might_sleep' Signed-off-by: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information