diff options
author | Sean Christopherson <seanjc@google.com> | 2024-11-28 04:33:54 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 01:19:50 +0300 |
commit | 8d862c270bf14cb3e63ca84a9a51be77c9fa4e2a (patch) | |
tree | 5b6f9ee25bcc0f380c7a32b5e851f33f09ff7b51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 46505c0f69f99cc8cf0b50842a35a49200db5144 (diff) | |
download | linux-8d862c270bf14cb3e63ca84a9a51be77c9fa4e2a.tar.xz |
KVM: x86: #undef SPEC_CTRL_SSBD in cpuid.c to avoid macro collisions
Undefine SPEC_CTRL_SSBD, which is #defined by msr-index.h to represent the
enable flag in MSR_IA32_SPEC_CTRL, to avoid issues with the macro being
unpacked into its raw value when passed to KVM's F() macro. This will
allow using multiple layers of macros in F() and friends, e.g. to harden
against incorrect usage of F().
No functional change intended (cpuid.c doesn't consume SPEC_CTRL_SSBD).
Link: https://lore.kernel.org/r/20241128013424.4096668-28-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions