Commit 05efc5bc authored by Lin Yujun's avatar Lin Yujun
Browse files

drm: drm_file.h: Add kabi_reserve

hulk inclusion
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G


CVE: NA

---------------------------------------------

Add kabi_reserve in drm_file.h

Signed-off-by: default avatarLin Yujun <linyujun809@huawei.com>
parent 544aacc8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@

#include <drm/drm_prime.h>

#include <linux/kabi.h>

struct dma_fence;
struct drm_file;
struct drm_device;
@@ -83,6 +85,9 @@ struct drm_minor {

	struct list_head debugfs_list;
	struct mutex debugfs_lock; /* Protects debugfs_list. */

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/**
@@ -374,6 +379,9 @@ struct drm_file {
#if IS_ENABLED(CONFIG_DRM_LEGACY)
	unsigned long lock_count; /* DRI1 legacy lock count */
#endif

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/**