]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Move __kvm_is_valid_cr4() definition to x86.h
authorSean Christopherson <seanjc@google.com>
Thu, 28 Nov 2024 01:33:37 +0000 (17:33 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 18 Dec 2024 22:19:32 +0000 (14:19 -0800)
commitb0c3d6871778ea28b22761134fb399926782a1a6
tree5203958797eda353d0f150d0aaa99d2b8dec1a2c
parent01bcd829c63fdde92d9d6c32b2ed3ba34ead0930
KVM: x86: Move __kvm_is_valid_cr4() definition to x86.h

Let vendor code inline __kvm_is_valid_cr4() now x86.c's cr4_reserved_bits
no longer exists, as keeping cr4_reserved_bits local to x86.c was the only
reason for "hiding" the definition of __kvm_is_valid_cr4().

No functional change intended.

Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20241128013424.4096668-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h