diff options
author | Mark Brown <broonie@kernel.org> | 2015-07-31 09:37:30 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-05 13:30:16 -0700 |
commit | ff63ec1312dabd28876c9c03b5ed172a879bfb60 (patch) | |
tree | a27f2a1f545e21d11e3567758b46bba65d58d938 | |
parent | f8b66fe52d3ae97df9f2eef6410bd5aef095914c (diff) | |
download | op-kernel-dev-ff63ec1312dabd28876c9c03b5ed172a879bfb60.zip op-kernel-dev-ff63ec1312dabd28876c9c03b5ed172a879bfb60.tar.gz |
coresight: Fix implicit inclusion of linux/sched.h
The patch "Coresight: Add an interface for supporting ETM3/4 Context ID
tracing" adds uses of find_task_by_vpid() and task_pid_nr() from
linux/sched.h but does not include that header causing build errors in
at least an ARM allmodconfig where it is not implicitly included. Add an
explicit include to fix that.
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/coresight.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 626da69..c69e1b9 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -14,6 +14,7 @@ #define _LINUX_CORESIGHT_H #include <linux/device.h> +#include <linux/sched.h> /* Peripheral id registers (0xFD0-0xFEC) */ #define CORESIGHT_PERIPHIDR4 0xfd0 |