[PATCH] drm/amdkcl: include linux/vmalloc.h in kcl_mm.h

Jiawei Jiawei.Gu at amd.com
Tue Sep 29 02:23:17 UTC 2020


Include linux/vmalloc.h to fix compile failure in 4.9.184 kernel

Signed-off-by: Jiawei <Jiawei.Gu at amd.com>
---
 include/kcl/kcl_mm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/kcl/kcl_mm.h b/include/kcl/kcl_mm.h
index 0afe2f099aa1..dac2f84c9dd3 100644
--- a/include/kcl/kcl_mm.h
+++ b/include/kcl/kcl_mm.h
@@ -8,6 +8,7 @@
 #include <linux/mm.h>
 #include <linux/gfp.h>
 #include <linux/slab.h>
+#include <linux/vmalloc.h>
 #include <kcl/kcl_mm_types.h>
 #include <kcl/kcl_memory.h>
 
-- 
2.17.1



More information about the amd-gfx mailing list