diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2014-08-28 15:13:02 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-10-02 17:19:15 +0200 |
commit | 3dcac226202ec154b5c29bcd968e7b894e61c031 (patch) | |
tree | cc77e9ef8451f61ba0e8e476b3032f2a77cab22c /virt | |
parent | 48bc31d532d18a5e64c5ef1f20be161d0b834d11 (diff) |
KVM: static inline empty kvm_arch functions
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
2df72e9bc KVM: split kvm_arch_flush_shadow
and kvm_arch_sched_in never made it into arch/ia64/kvm/kvm-ia64.c.
e790d9ef6 KVM: add kvm_arch_sched_in
Signed-off-by: Radim KrÄmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 0865e636aef751966e6e0f8950a26bc7391e923c)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions