diff options
author | Olaf Hering <olaf@aepfle.de> | 2023-09-22 21:28:40 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2023-09-22 20:28:16 +0000 |
commit | cfc7461a60e324f75dc9d1beadc07890140ffd29 (patch) | |
tree | 2e63a6200280ba3914d66ddef6fa620feff0a0e5 /include/asm-generic | |
parent | 203a521bd93c323ded93c5aa35069029d5c23611 (diff) | |
download | linux-cfc7461a60e324f75dc9d1beadc07890140ffd29.tar.gz linux-cfc7461a60e324f75dc9d1beadc07890140ffd29.tar.bz2 linux-cfc7461a60e324f75dc9d1beadc07890140ffd29.zip |
hyperv: reduce size of ms_hyperv_info
Use the hole prior shared_gpa_boundary to store the result of get_vtl.
This reduces the size by 8 bytes.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20230922192840.3886-1-olaf@aepfle.de
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/mshyperv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h index cecd2b7bd033..430f0ae0dde2 100644 --- a/include/asm-generic/mshyperv.h +++ b/include/asm-generic/mshyperv.h @@ -36,6 +36,7 @@ struct ms_hyperv_info { u32 nested_features; u32 max_vp_index; u32 max_lp_index; + u8 vtl; union { u32 isolation_config_a; struct { @@ -54,7 +55,6 @@ struct ms_hyperv_info { }; }; u64 shared_gpa_boundary; - u8 vtl; }; extern struct ms_hyperv_info ms_hyperv; extern bool hv_nested; |