[PATCH 26/44] KVM: s390: Mark __kvm_s390_init() and its descendants as __init

Eric Farman farman at linux.ibm.com
Mon Nov 7 10:22:19 PST 2022


On Wed, 2022-11-02 at 23:18 +0000, Sean Christopherson wrote:
> 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 <seanjc at google.com>
> ---
>  arch/s390/kvm/interrupt.c | 2 +-
>  arch/s390/kvm/kvm-s390.c  | 4 ++--
>  arch/s390/kvm/kvm-s390.h  | 2 +-
>  arch/s390/kvm/pci.c       | 2 +-
>  arch/s390/kvm/pci.h       | 2 +-
>  5 files changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Eric Farman <farman at linux.ibm.com>



More information about the kvm-riscv mailing list