KVM: SVM: Tag MSR bitmap initialization helpers with __init
authorSean Christopherson <seanjc@google.com>
Tue, 10 Jun 2025 22:57:09 +0000 (15:57 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:05:40 +0000 (13:05 -0700)
commitf886515f9ba23a4cc65e1bc7afeb5177e92c8936
tree602ef7acebd84f93cb8f2c309b57447bc636ad47
parent5ebd73730832d56dac9355707cab6f4cc5601396
KVM: SVM: Tag MSR bitmap initialization helpers with __init

Tag init_msrpm_offsets() and add_msr_offset() with __init, as they're used
only during hardware setup to map potential passthrough MSRs to offsets in
the bitmap.

Reviewed-by: Chao Gao <chao.gao@intel.com>
Link: https://lore.kernel.org/r/20250610225737.156318-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c