OSDN Git Service

KVM: SVM: Annotate svm_x86_ops as __initdata
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 21 Mar 2020 20:26:03 +0000 (13:26 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 31 Mar 2020 14:48:11 +0000 (10:48 -0400)
commit9c14ee21fcf74ac1f31e11180bf0dfd928c912cc
tree197d43f1ed0f2d10fc8abf7d7ebf217720d8943a
parente286ac0e38cbe187fbbc72d7e9da503f5ed26cc8
KVM: SVM: Annotate svm_x86_ops as __initdata

Tag svm_x86_ops with __initdata now the the struct is copied by value to
a common x86 instance of kvm_x86_ops as part of kvm_init().

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200321202603.19355-10-sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c