KVM: SVM: Annotate nested_svm_map with might_sleep()
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Feb 2010 15:23:04 +0000 (16:23 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:16 +0000 (12:34 +0300)
commit6c3bd3d7660c35a703073b81eccfd5a3b7c15295
tree77e88f411dce1828dba9f834b58fc7f783374aa3
parentcdbbdc1210223879450555fee04c29ebf116576b
KVM: SVM: Annotate nested_svm_map with might_sleep()

The nested_svm_map() function can sleep and must not be
called from atomic context. So annotate that function.

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