summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWei Liu <wei.liu@kernel.org>2026-06-30 14:57:54 -0700
committerWei Liu <wei.liu@kernel.org>2026-07-22 21:58:21 +0000
commitd6f0248f04a96249660591e47fcf37ba98ac7ea3 (patch)
tree6b53bbf92205679d0542cef0c75a5f386e07e26b /include
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
mshv: fix hv_input_get_system_property struct
Keep it in sync with the correct definition. The old code worked by chance. Fixes: e68bda71a2384 ("hyperv: Add new Hyper-V headers in include/hyperv") Cc: stable@kernel.org Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/hyperv/hvhdk_mini.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hyperv/hvhdk_mini.h b/include/hyperv/hvhdk_mini.h
index b4cb2fa26e9b..035ba20870f7 100644
--- a/include/hyperv/hvhdk_mini.h
+++ b/include/hyperv/hvhdk_mini.h
@@ -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;