]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: svm: inititalize hash table structures directly
authorDavid Hildenbrand <david@redhat.com>
Tue, 24 Jan 2017 21:21:16 +0000 (22:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Feb 2017 14:26:06 +0000 (15:26 +0100)
commit0ca1a262f7e419ed1b917ea2d325b9e1a696e6cf
treeee86951ab23301f477f03292528536fb78a0577b
parent55de21289ff8a5c62cb20020163a626f3c2e323d
KVM: svm: inititalize hash table structures directly

The hashtable and guarding spinlock are global data structures,
we can inititalize them statically.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170124212116.4568-1-david@redhat.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c