Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Rob Clark
70082a52 5dce8d78

+1
+1
drivers/gpu/drm/msm/msm_gpu.c
··· 16 16 #include <linux/pm_opp.h> 17 17 #include <linux/devfreq.h> 18 18 #include <linux/devcoredump.h> 19 + #include <linux/sched/task.h> 19 20 20 21 /* 21 22 * Power Management: