diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-09-18 21:57:07 +0200 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-10-07 09:29:10 -0700 |
commit | 70082a52f96a45650dfc3d8cdcd2c42bdac9f6f0 (patch) | |
tree | 079665f7fde3d7e7358518ae315f265797893956 /drivers/gpu/drm/msm/msm_gpu.c | |
parent | 5dce8d78207e929ff8f0e9dbe7180b23fed3651e (diff) | |
download | lwn-70082a52f96a45650dfc3d8cdcd2c42bdac9f6f0.tar.gz lwn-70082a52f96a45650dfc3d8cdcd2c42bdac9f6f0.zip |
drm/msm: include linux/sched/task.h
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: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index 122199af0381..18f3a5c53ffb 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -16,6 +16,7 @@ #include <linux/pm_opp.h> #include <linux/devfreq.h> #include <linux/devcoredump.h> +#include <linux/sched/task.h> /* * Power Management: |