• Radim Krčmář's avatar
    KVM: static inline empty kvm_arch functions · 0865e636
    Radim Krčmář authored
    Using static inline is going to save few bytes and cycles.
    For example on powerpc, the difference is 700 B after stripping.
    (5 kB before)
    
    This patch also deals with two overlooked empty functions:
    kvm_arch_flush_shadow was not removed from arch/mips/kvm/mips.c
      2df72e9b KVM: split kvm_arch_flush_shadow
    and kvm_arch_sched_in never made it into arch/ia64/kvm/kvm-ia64.c.
      e790d9ef KVM: add kvm_arch_sched_in
    
    Signed-off-by: Radim KrčmáŠ<rkrcmar@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    0865e636
kvm_host.h 16.9 KB