diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2016-08-29 20:31:38 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2016-08-30 11:54:07 +0530 |
commit | 5a5bb5cda29dca03e86ce1f502485a3e4abea364 (patch) | |
tree | 3154da34a1a5a6291ce12836050e91d60e278ca8 | |
parent | ae3fb5fc3e450d3840a085e273ecee96523ccb2a (diff) |
kernel: kcov: include missing header for ‘struct task_struct’lsk-v3.18-16.09-android
Include linux/sched.h to fix "dereferencing pointer to incomplete type
‘struct task_struct’" build error for ARCH=x86_64.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | kernel/kcov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kcov.c b/kernel/kcov.c index 3efbee0834a8..e228cb1894d5 100644 --- a/kernel/kcov.c +++ b/kernel/kcov.c @@ -12,6 +12,7 @@ #include <linux/debugfs.h> #include <linux/uaccess.h> #include <linux/kcov.h> +#include <linux/sched.h> /* * kcov descriptor (one per opened debugfs file). |