提交 07fbec13 编写于 作者: A Arnd Bergmann 提交者: Yang Yingliang

drm/msm: include linux/sched/task.h

commit 70082a52f96a45650dfc3d8cdcd2c42bdac9f6f0 upstream.

Without this header file, compile-testing may run into a missing
declaration:

drivers/gpu/drm/msm/msm_gpu.c:444:4: error: implicit declaration of function 'put_task_struct' [-Werror,-Wimplicit-function-declaration]

Fixes: 482f96324a4e ("drm/msm: Fix task dump in gpu recovery")
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Reviewed-by: NJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: NRob Clark <robdclark@chromium.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 d7f598ab
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <linux/pm_opp.h> #include <linux/pm_opp.h>
#include <linux/devfreq.h> #include <linux/devfreq.h>
#include <linux/devcoredump.h> #include <linux/devcoredump.h>
#include <linux/sched/task.h>
/* /*
* Power Management: * Power Management:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册