]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: Fix implicit inclusion of linux/sched.h
authorMark Brown <broonie@kernel.org>
Fri, 31 Jul 2015 15:37:30 +0000 (09:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:30:16 +0000 (13:30 -0700)
commita377e568973112f2e4dd1cd80ff28a604c819e1b
treea27f2a1f545e21d11e3567758b46bba65d58d938
parent3b9efd06753c2cb50e4512acc34ca0c7955fd1bb
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>
include/linux/coresight.h