hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8X87C
--------------------------------
reserve space for struct drm_file.h:drm_minor drm_file.h:drm_file
Signed-off-by: Yuntao Liu liuyuntao12@huawei.com --- include/drm/drm_file.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h index 010239392adf..0f2983f9a79a 100644 --- a/include/drm/drm_file.h +++ b/include/drm/drm_file.h @@ -37,6 +37,7 @@ #include <uapi/drm/drm.h>
#include <drm/drm_prime.h> +#include <linux/kabi.h>
struct dma_fence; struct drm_file; @@ -83,6 +84,8 @@ struct drm_minor {
struct list_head debugfs_list; struct mutex debugfs_lock; /* Protects debugfs_list. */ + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -374,6 +377,10 @@ struct drm_file { #if IS_ENABLED(CONFIG_DRM_LEGACY) unsigned long lock_count; /* DRI1 legacy lock count */ #endif + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
/**