From: Olaf Hering <ohering@suse.de>
Date: Mon, 9 Nov 2020 11:04:00 +0100
Patch-mainline: Never, kABI
Subject: kABI Drivers: hv: vmbus: preserve layout of vmbus_channel.
References: bsc#1204017
A new channel is allocated internally by all in-tree drivers.
Preserve layout of struct vmbus_channel.
Hide the new members at the end of this struct.
---
include/linux/hyperv.h | 4 ++++
1 file changed, 4 insertions(+)
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -961,14 +961,18 @@ struct vmbus_channel {
* full outbound ring buffer.
*/
u64 out_full_first;
+#ifndef __GENKSYMS__
+#define SUSE_vmbus_channel_NEW_request_callback 1
/* callback to generate a request ID from a request address */
u64 (*next_request_id_callback)(struct vmbus_channel *channel, u64 rqst_addr);
/* callback to retrieve a request address from a request ID */
u64 (*request_addr_callback)(struct vmbus_channel *channel, u64 rqst_id);
/* request/transaction ids for VMBus */
+#define SUSE_vmbus_channel_NEW_requestor 1
struct vmbus_requestor requestor;
u32 rqstor_size;
+#endif
};
#define lock_requestor(channel, flags) \