From: Mark Brown Date: Fri, 31 Jul 2015 15:37:30 +0000 (-0600) Subject: coresight: Fix implicit inclusion of linux/sched.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff63ec1312dabd28876c9c03b5ed172a879bfb60;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mathieu Poirier Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 626da6948ca2..c69e1b932809 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -14,6 +14,7 @@ #define _LINUX_CORESIGHT_H #include +#include /* Peripheral id registers (0xFD0-0xFEC) */ #define CORESIGHT_PERIPHIDR4 0xfd0