hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in drm_gem.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/drm/drm_gem.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index bc9f6aa2f3fe..4b7ec8eab65c 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -41,6 +41,8 @@
#include <drm/drm_vma_manager.h>
+#include <linux/kabi.h> + struct iosys_map; struct drm_gem_object;
@@ -216,6 +218,9 @@ struct drm_gem_object_funcs { * This is optional but necessary for mmap support. */ const struct vm_operations_struct *vm_ops; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -421,6 +426,9 @@ struct drm_gem_object { * The current LRU list that the GEM object is on. */ struct drm_gem_lru *lru; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/**