mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
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 <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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user