KVM: ia64: restore irq state before calling kvm_vcpu_init
authorJes Sorensen <jes@sgi.com>
Thu, 16 Apr 2009 14:08:29 +0000 (16:08 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:44 +0000 (11:48 +0300)
Make sure to restore the psr after calling kvm_insert_vmm_mapping()
which calls ia64_itr_entry() as it disables local interrupts and
kvm_vcpu_init() may sleep.

Avoids a warning from the lock debugging code.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by : Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found