]> 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)
commit5247c335f4f29665912f7c1cac96ad10f237a9b6
tree6f78e28c0c886bf7a5b36a805fc79f2bc642d824
parent47ee0064fd59230058983c67121d5d6278113383
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