]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hyperv: Move hv_connection_id to hyperv-tlfs.h
authorNuno Das Neves <nunodasneves@linux.microsoft.com>
Mon, 25 Nov 2024 23:24:40 +0000 (15:24 -0800)
committerWei Liu <wei.liu@kernel.org>
Wed, 8 Jan 2025 08:18:26 +0000 (08:18 +0000)
This definition is in the wrong file; it is part of the TLFS doc.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1732577084-2122-2-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1732577084-2122-2-git-send-email-nunodasneves@linux.microsoft.com>

include/asm-generic/hyperv-tlfs.h
include/linux/hyperv.h

index 814207e7c37fcf17a65638f68ceda02e400c58fa..52274c9aefefc0e9ffa61a5d832de582fa3d3015 100644 (file)
@@ -871,4 +871,13 @@ struct hv_mmio_write_input {
        u8 data[HV_HYPERCALL_MMIO_MAX_DATA_LENGTH];
 } __packed;
 
+/* Define connection identifier type. */
+union hv_connection_id {
+       u32 asu32;
+       struct {
+               u32 id:24;
+               u32 reserved:8;
+       } u;
+};
+
 #endif
index 02a226bcf0edc9adedf554f2551b93874f980809..b0dbba3b9108e0dfe39325442557d195edbca6b8 100644 (file)
@@ -768,15 +768,6 @@ struct vmbus_close_msg {
        struct vmbus_channel_close_channel msg;
 };
 
-/* Define connection identifier type. */
-union hv_connection_id {
-       u32 asu32;
-       struct {
-               u32 id:24;
-               u32 reserved:8;
-       } u;
-};
-
 enum vmbus_device_type {
        HV_IDE = 0,
        HV_SCSI,