aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kvm/pci.h
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-11-30 23:09:12 +0000
committerPaolo Bonzini <[email protected]>2022-12-29 15:41:22 -0500
commit6c30cd2ef43d15f9799d8a77dca2f075e9d717e6 (patch)
tree6441c67c3f1388a917f975fca786e6c28c8240b1 /arch/s390/kvm/pci.h
parentb8449265915ddf834b15a8c7ace2fe7f361eac93 (diff)
KVM: s390: Mark __kvm_s390_init() and its descendants as __init
Tag __kvm_s390_init() and its unique helpers as __init. These functions are only ever called during module_init(), but could not be tagged accordingly while they were invoked from the common kvm_arch_init(), which is not __init because of x86. Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Eric Farman <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/s390/kvm/pci.h')
-rw-r--r--arch/s390/kvm/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/pci.h b/arch/s390/kvm/pci.h
index 486d06ef563f..ff0972dd5e71 100644
--- a/arch/s390/kvm/pci.h
+++ b/arch/s390/kvm/pci.h
@@ -60,7 +60,7 @@ void kvm_s390_pci_clear_list(struct kvm *kvm);
int kvm_s390_pci_zpci_op(struct kvm *kvm, struct kvm_s390_zpci_op *args);
-int kvm_s390_pci_init(void);
+int __init kvm_s390_pci_init(void);
void kvm_s390_pci_exit(void);
static inline bool kvm_s390_pci_interp_allowed(void)