diff options
| author | Nuno Das Neves <nunodasneves@linux.microsoft.com> | 2024-11-25 15:24:40 -0800 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2025-01-08 08:18:26 +0000 |
| commit | 9696d9ae016573568dfd65dd2a92d6e8d277b25b (patch) | |
| tree | 2805e340a67c0b9b22b072be9d4aa68d83dfd5c3 /include/asm-generic | |
| parent | 9d89551994a430b50c4fffcb1e617a057fa76e20 (diff) | |
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>
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/hyperv-tlfs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-generic/hyperv-tlfs.h b/include/asm-generic/hyperv-tlfs.h index 814207e7c37f..52274c9aefef 100644 --- a/include/asm-generic/hyperv-tlfs.h +++ b/include/asm-generic/hyperv-tlfs.h @@ -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 |
