KVM: SEV: move set_dr_intercepts/clr_dr_intercepts from the header
authorAlexey Kardashevskiy <aik@amd.com>
Thu, 15 Jun 2023 06:37:49 +0000 (16:37 +1000)
committerSean Christopherson <seanjc@google.com>
Fri, 28 Jul 2023 22:58:53 +0000 (15:58 -0700)
commitb265ee7bae1192ecc55ecaf7e63c8ed84cc2f509
tree01353ef512efbb1d9be087195b6ccb017dd0d560
parentfdf0eaf11452d72945af31804e2a1048ee1b574c
KVM: SEV: move set_dr_intercepts/clr_dr_intercepts from the header

Static functions set_dr_intercepts() and clr_dr_intercepts() are only
called from SVM so move them to .c.

No functional change intended.

Signed-off-by: Alexey Kardashevskiy <aik@amd.com>
Reviewed-by: Carlos Bilbao <carlos.bilbao@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Santosh Shukla <santosh.shukla@amd.com>
Link: https://lore.kernel.org/r/20230615063757.3039121-2-aik@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h