mirror of
https://github.com/torvalds/linux.git
synced 2025-01-01 15:51:46 +00:00
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
This commit is contained in:
parent
203a521bd9
commit
cfc7461a60
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user