mshv: fix hv_input_get_system_property struct

Keep it in sync with the correct definition.

The old code worked by chance.

Fixes: e68bda71a2 ("hyperv: Add new Hyper-V headers in include/hyperv")
Cc: stable@kernel.org
Signed-off-by: Wei Liu <wei.liu@kernel.org>
This commit is contained in:
Wei Liu
2026-07-22 21:58:21 +00:00
parent dc59e4fea9
commit d6f0248f04
+2 -1
View File
@@ -184,8 +184,9 @@ enum hv_dynamic_processor_feature_property {
struct hv_input_get_system_property {
u32 property_id; /* enum hv_system_property */
u32 reserved;
union {
u32 as_uint32;
u64 as_uint64;
#if IS_ENABLED(CONFIG_X86)
/* enum hv_dynamic_processor_feature_property */
u32 hv_processor_feature;