anolis: fix kabi broken in structs
ANBZ: #8583 Fix kabi broken in struct __call_single_data and iommu_iotlb_gather. Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Reviewed-by: Cruz Zhao <CruzZhao@linux.alibaba.com> Link: https://gitee.com/anolis/cloud-kernel/pulls/2918
This commit is contained in:
parent
c662682f0a
commit
a2ca73702d
|
@ -215,8 +215,8 @@ struct iommu_iotlb_gather {
|
|||
size_t pgsize;
|
||||
struct page *freelist;
|
||||
|
||||
bool queued;
|
||||
CK_KABI_RESERVE(1)
|
||||
CK_KABI_USE(1, bool queued)
|
||||
CK_KABI_RESERVE(2)
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,19 +22,16 @@ typedef bool (*smp_cond_func_t)(int cpu, void *info);
|
|||
* structure shares (partial) layout with struct irq_work
|
||||
*/
|
||||
struct __call_single_data {
|
||||
CK_KABI_REPLACE(
|
||||
union {
|
||||
struct __call_single_node node;
|
||||
struct {
|
||||
struct llist_node llist;
|
||||
unsigned int flags;
|
||||
union {
|
||||
struct __call_single_node node;
|
||||
struct {
|
||||
struct llist_node llist;
|
||||
unsigned int flags;
|
||||
#ifdef CONFIG_64BIT
|
||||
u16 src;
|
||||
u16 dst;
|
||||
u16 src, dst;
|
||||
#endif
|
||||
};
|
||||
},
|
||||
struct __call_single_node node)
|
||||
}; /* Not used any more! */
|
||||
};
|
||||
smp_call_func_t func;
|
||||
void *info;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue