Skip to content

Commit 9696d9a

Browse files
NunoDasNevesliuw
authored andcommitted
hyperv: Move hv_connection_id to hyperv-tlfs.h
This definition is in the wrong file; it is part of the TLFS doc. Signed-off-by: Nuno Das Neves <[email protected]> Acked-by: Wei Liu <[email protected]> Reviewed-by: Easwar Hariharan <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/1732577084-2122-2-git-send-email-nunodasneves@linux.microsoft.com Signed-off-by: Wei Liu <[email protected]> Message-ID: <1732577084-2122-2-git-send-email-nunodasneves@linux.microsoft.com>
1 parent 9d89551 commit 9696d9a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

include/asm-generic/hyperv-tlfs.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,4 +871,13 @@ struct hv_mmio_write_input {
871871
u8 data[HV_HYPERCALL_MMIO_MAX_DATA_LENGTH];
872872
} __packed;
873873

874+
/* Define connection identifier type. */
875+
union hv_connection_id {
876+
u32 asu32;
877+
struct {
878+
u32 id:24;
879+
u32 reserved:8;
880+
} u;
881+
};
882+
874883
#endif

include/linux/hyperv.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -768,15 +768,6 @@ struct vmbus_close_msg {
768768
struct vmbus_channel_close_channel msg;
769769
};
770770

771-
/* Define connection identifier type. */
772-
union hv_connection_id {
773-
u32 asu32;
774-
struct {
775-
u32 id:24;
776-
u32 reserved:8;
777-
} u;
778-
};
779-
780771
enum vmbus_device_type {
781772
HV_IDE = 0,
782773
HV_SCSI,

0 commit comments

Comments
 (0)