Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79e53263 authored by Mark Brown's avatar Mark Brown Committed by Shashank Mittal
Browse files

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.

Change-Id: Ib7d4ed6220aed78bca3b34d098e249e14728e36f
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>
Git-commit: ff63ec1312dabd28876c9c03b5ed172a879bfb60
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarShashank Mittal <mittals@codeaurora.org>
parent 6e3db28e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@
#else
#else


#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