Commit f2b04e5b authored by Wang Wensheng's avatar Wang Wensheng
Browse files

drm: Add kabi reserve in drm_modeset_lock.h

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9244H



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

Reserve space for drm_modeset_acquire_ctx in drm_modeset_lock.h.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent 6afd66f5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
#include <linux/types.h> /* stackdepot.h is not self-contained */
#include <linux/stackdepot.h>
#include <linux/ww_mutex.h>
#include <linux/kabi.h>

struct drm_modeset_lock;

@@ -72,6 +73,8 @@ struct drm_modeset_acquire_ctx {

	/* Perform interruptible waits on this context. */
	bool interruptible;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/**