]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit492d107ef08e8a839c892c5264c84f89fcf9f87a
tree6f78e28c0c886bf7a5b36a805fc79f2bc642d824
parentc9658f7d6a9c232ba05ad6f78df4f823e37c6c75
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