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

xarray: Reserve kabi for xa_state

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



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

Reserve space for xa_state in xarray.h.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent 2678205b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)
};

/*