KVM: Convert PIC lock from raw spinlock to ordinary spinlock
authorAvi Kivity <avi@redhat.com>
Sun, 19 Sep 2010 16:44:07 +0000 (18:44 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:56 +0000 (10:52 +0200)
commitf4f510508741680e423524c222f615276ca6222c
tree6c5212b82659ff7c0e7c9124b3583ea39987bc83
parent28e4639adf0c9f26f6bb56149b7ab547bf33bb95
KVM: Convert PIC lock from raw spinlock to ordinary spinlock

The PIC code used to be called from preempt_disable() context, which
wasn't very good for PREEMPT_RT.  That is no longer the case, so move
back from raw_spinlock_t to spinlock_t.

Signed-off-by: Avi Kivity <avi@redhat.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/i8259.c
arch/x86/kvm/irq.h
arch/x86/kvm/x86.c