]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/svm.c
KVM: SVM: Make dump_vmcb static, reduce text
authorJoe Perches <joe@perches.com>
Mon, 25 Apr 2011 05:00:50 +0000 (22:00 -0700)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:40:00 +0000 (08:40 -0400)
commitae8cc059550b2c2ec7a5e9650bb1be7b988a1208
tree6f78e28c0c886bf7a5b36a805fc79f2bc642d824
parent8f74d8e16812d63639871b4e56409b08bdcb66fc
KVM: SVM: Make dump_vmcb static, reduce text

dump_vmcb isn't used outside this module, make it static.
Shrink text and object by ~1% by standardizing formats.

$ size arch/x86/kvm/svm.o*
   text    data     bss     dec     hex filename
  52910     580   10072   63562    f84a arch/x86/kvm/svm.o.new
  53563     580   10072   64215    fad7 arch/x86/kvm/svm.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c