Commit ff63ec13 authored by Mark Brown's avatar Mark Brown Committed by Greg Kroah-Hartman

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: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8b66fe5
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#define _LINUX_CORESIGHT_H #define _LINUX_CORESIGHT_H
#include <linux/device.h> #include <linux/device.h>
#include <linux/sched.h>
/* Peripheral id registers (0xFD0-0xFEC) */ /* Peripheral id registers (0xFD0-0xFEC) */
#define CORESIGHT_PERIPHIDR4 0xfd0 #define CORESIGHT_PERIPHIDR4 0xfd0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment