lkml.org 
[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 133/191] drm/msm: include linux/sched/task.h
    Date
    From: Arnd Bergmann <arnd@arndb.de>

    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: Arnd Bergmann <arnd@arndb.de>
    Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
    Signed-off-by: Rob Clark <robdclark@chromium.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/gpu/drm/msm/msm_gpu.c | 1 +
    1 file changed, 1 insertion(+)

    --- 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:

    \
     
     \ /
      Last update: 2020-01-07 22:40    [W:4.345 / U:0.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site