diff options
author | Dionna Glaze <dionnaglaze@google.com> | 2023-12-07 00:11:32 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-08 08:41:03 -0500 |
commit | 882dd4aee36bcf4e734b9c7fb5c17b387d71241d (patch) | |
tree | b63a859e5e50e77dd70047c874822f965f3085d2 /tools/perf/scripts/python | |
parent | 3c7a8e190bc580813ddd9259f62971c8d2a6b5ad (diff) |
kvm: x86: use a uapi-friendly macro for BIT
Change uapi header uses of BIT to instead use the uapi/linux/const.h bit
macros, since BIT is not defined in uapi headers.
The PMU mask uses _BITUL since it targets a 32 bit flag field, whereas
the longmode definition is meant for a 64 bit flag field.
Cc: Sean Christophersen <seanjc@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Message-Id: <20231207001142.3617856-1-dionnaglaze@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions