diff options
author | Sean Christopherson <seanjc@google.com> | 2024-03-14 16:26:35 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-04-29 12:55:20 -0700 |
commit | f18ef97fc60217f648a910835c895cf27ba75a03 (patch) | |
tree | 0a59167432a2f89d5d69eb33138c8473277c549c /tools/testing/selftests/kvm/lib/userfaultfd_util.c | |
parent | a2834e6e0b98bc89b874aef15c99b23db5f438df (diff) |
KVM: selftests: Add macro for TSS selector, rename up code/data macros
Add a proper #define for the TSS selector instead of open coding 0x18 and
hoping future developers don't use that selector for something else.
Opportunistically rename the code and data selector macros to shorten the
names, align the naming with the kernel's scheme, and capture that they
are *kernel* segments.
Reviewed-by: Ackerley Tng <ackerleytng@google.com>
Link: https://lore.kernel.org/r/20240314232637.2538648-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/userfaultfd_util.c')
0 files changed, 0 insertions, 0 deletions