summaryrefslogtreecommitdiff
path: root/arch/s390/kvm/pci.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-12-01 02:09:11 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-29 23:41:21 +0300
commitb8449265915ddf834b15a8c7ace2fe7f361eac93 (patch)
tree3cd4e69811b2ec5756d4b1b9134a64ff22ca149f /arch/s390/kvm/pci.h
parentae19b15d917887a450787de6f5c8f26a16d3fba9 (diff)
downloadlinux-b8449265915ddf834b15a8c7ace2fe7f361eac93.tar.xz
KVM: s390: Do s390 specific init without bouncing through kvm_init()
Move the guts of kvm_arch_init() into a new helper, __kvm_s390_init(), and invoke the new helper directly from kvm_s390_init() instead of bouncing through kvm_init(). Invoking kvm_arch_init() is the very first action performed by kvm_init(), i.e. this is a glorified nop. Moving setup to __kvm_s390_init() will allow tagging more functions as __init, and emptying kvm_arch_init() will allow dropping the hook entirely once all architecture implementations are nops. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221130230934.1014142-28-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/s390/kvm/pci.h')
0 files changed, 0 insertions, 0 deletions