Commit 48f78a0e authored by Wang Wensheng's avatar Wang Wensheng
Browse files

sbitmap: Add kabi reserve

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



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

Reserve space for sbitmap and sbitmap_queue in sbitmap.h.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent f5dc81c4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <linux/smp.h>
#include <linux/types.h>
#include <linux/wait.h>
#include <linux/kabi.h>

struct seq_file;

@@ -77,6 +78,10 @@ struct sbitmap {
	 * cachelines until the map is exhausted.
	 */
	unsigned int __percpu *alloc_hint;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

#define SBQ_WAIT_QUEUES 8
@@ -144,6 +149,10 @@ struct sbitmap_queue {
	 * @wakeup_cnt: Number of thread wake ups issued.
	 */
	atomic_t wakeup_cnt;
	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

/**