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)
commit681bcea802f2bf0a28cdf0fd0f813de7bb5cd3c7
treeee86951ab23301f477f03292528536fb78a0577b
parent858e25c06fb0bc4b39b2f01c14c990348e3a9b67
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