diff options
| author | Amit Pundir <amit.pundir@linaro.org> | 2016-10-12 20:18:18 +0530 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-10-12 22:35:30 +0530 |
| commit | 26700159745df7db2bc75e8032d2a36913c37880 (patch) | |
| tree | 1ad90bd1a4d3c0498382978d46b4e4da58189b54 /kernel/fork.c | |
| parent | 12dd1aad02fab89b2504be556df26049f5718e81 (diff) | |
mm: Fix build for hardened usercopy
Include missing linux/sched.h to fix following build failure for
ARCH=i386+allmodconfig build.
CC mm/usercopy.o
mm/usercopy.c: In function ‘check_stack_object’:
mm/usercopy.c:40:29: error: implicit declaration of function ‘task_stack_page’ [-Werror=implicit-function-declaration]
const void * const stack = task_stack_page(current);
^
scripts/Makefile.build:258: recipe for target 'mm/usercopy.o' failed
Fixes: 799abb4f9534 ("mm: Hardened usercopy")
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions
