hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9244H
---------------------------
Reserve space for xa_state in xarray.h.
Signed-off-by: Wang Wensheng wangwensheng4@huawei.com --- include/linux/xarray.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/linux/xarray.h b/include/linux/xarray.h index cb571dfcf4b1..89ec31f1f023 100644 --- a/include/linux/xarray.h +++ b/include/linux/xarray.h @@ -19,6 +19,7 @@ #include <linux/sched/mm.h> #include <linux/spinlock.h> #include <linux/types.h> +#include <linux/kabi.h>
/* * The bottom two bits of the entry determine how the XArray interprets @@ -1352,6 +1353,8 @@ struct xa_state { struct xa_node *xa_alloc; xa_update_node_t xa_update; struct list_lru *xa_lru; + KABI_RESERVE(1) + KABI_RESERVE(2) };
/*