KVM: move alloc_apic_access_page() outside of non-preemptable region
authorMarcelo Tosatti <marcelo@kvack.org>
Thu, 14 Feb 2008 23:21:43 +0000 (21:21 -0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 4 Mar 2008 13:19:46 +0000 (15:19 +0200)
alloc_apic_access_page() can sleep, while vmx_vcpu_setup is called
inside a non preemptable region. Move it after put_cpu().

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found