Searched hist:b8449265915ddf834b15a8c7ace2fe7f361eac93 (Results 1 – 1 of 1) sorted by relevance
/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | diff b8449265915ddf834b15a8c7ace2fe7f361eac93 Thu Dec 01 00:09:11 CET 2022 Sean Christopherson <seanjc@google.com> 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>
|