diff options
author | Yanteng Si <siyanteng01@gmail.com> | 2021-10-14 11:51:34 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-10-21 19:46:02 +0300 |
commit | 89e56d5ed1f729b7b80e74ea972f1d89d26f41c4 (patch) | |
tree | 389d20079d8a58d2ab11b911a6c6a76a4d1cd19e /drivers/gpu/drm/msm | |
parent | f8546caa41ddab1c7c2c23b47331c40e93b1bf60 (diff) | |
download | linux-89e56d5ed1f729b7b80e74ea972f1d89d26f41c4.tar.xz |
drm/msm: Fix missing include files in msm_gem_shrinker.c
Include linux/vmalloc.h to fix below errors:
error: implicit declaration of function 'register_vmap_purge_notifier'
error: implicit declaration of function 'unregister_vmap_purge_notifier'
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Link: https://lore.kernel.org/r/f270502946fa411cc85c18fc252e5ddbeaf9c2f5.1634200323.git.siyanteng@loongson.cn
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem_shrinker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem_shrinker.c b/drivers/gpu/drm/msm/msm_gem_shrinker.c index 0f1b29ee04a9..4a1420b05e97 100644 --- a/drivers/gpu/drm/msm/msm_gem_shrinker.c +++ b/drivers/gpu/drm/msm/msm_gem_shrinker.c @@ -4,6 +4,8 @@ * Author: Rob Clark <robdclark@gmail.com> */ +#include <linux/vmalloc.h> + #include "msm_drv.h" #include "msm_gem.h" #include "msm_gpu.h" |