diff options
author | Michael Kelley <[email protected]> | 2020-04-22 12:57:34 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2020-05-20 09:13:58 +0000 |
commit | 7357b1df744c2a3bcbe00cea0eef1509d004f488 (patch) | |
tree | adfeefc3a24cd5c6127a19105a5722f480c11d08 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 677b0ce5d66c5445440f3cedd3c20ff1665c0f46 (diff) |
KVM: x86: hyperv: Remove duplicate definitions of Reference TSC Page
The Hyper-V Reference TSC Page structure is defined twice. struct
ms_hyperv_tsc_page has padding out to a full 4 Kbyte page size. But
the padding is not needed because the declaration includes a union
with HV_HYP_PAGE_SIZE. KVM uses the second definition, which is
struct _HV_REFERENCE_TSC_PAGE, because it does not have the padding.
Fix the duplication by removing the padding from ms_hyperv_tsc_page.
Fix up the KVM code to use it. Remove the no longer used struct
_HV_REFERENCE_TSC_PAGE.
There is no functional change.
Signed-off-by: Michael Kelley <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions