
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: Wang Wensheng <wangwensheng4@huawei.com> --- include/linux/sbitmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/linux/sbitmap.h b/include/linux/sbitmap.h index d662cf136021..03119f8b95c1 100644 --- a/include/linux/sbitmap.h +++ b/include/linux/sbitmap.h @@ -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) }; /** -- 2.17.1