Skip to content

Commit ff63ec1

Browse files
brooniegregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f8b66fe commit ff63ec1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/coresight.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define _LINUX_CORESIGHT_H
1515

1616
#include <linux/device.h>
17+
#include <linux/sched.h>
1718

1819
/* Peripheral id registers (0xFD0-0xFEC) */
1920
#define CORESIGHT_PERIPHIDR4 0xfd0

0 commit comments

Comments
 (0)