summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2022-01-15 06:24:29 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-19 18:12:03 +0100
commit398f9240f90f4168f5882180723f743f7b682049 (patch)
treed13528d34ad0521e3244bba676ec3832988b2dda /security/commoncap.c
parentselftests: kvm/x86: Introduce is_amd_cpu() (diff)
downloadlinux-398f9240f90f4168f5882180723f743f7b682049.tar.xz
linux-398f9240f90f4168f5882180723f743f7b682049.zip
selftests: kvm/x86: Export x86_family() for use outside of processor.c
Move this static inline function to processor.h, so that it can be used in individual tests, as needed. Opportunistically replace the bare 'unsigned' with 'unsigned int.' Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220115052431.447232-5-jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions