KVM: Convert i8254/i8259 locks to raw_spinlocks
The i8254/i8259 locks need to be real spinlocks on preempt-rt. Convert them to raw_spinlock. No change for !RT kernels. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
committed by
Marcelo Tosatti
parent
e424e19183
commit
fa8273e954
@@ -62,7 +62,7 @@ struct kvm_kpic_state {
|
||||
};
|
||||
|
||||
struct kvm_pic {
|
||||
spinlock_t lock;
|
||||
raw_spinlock_t lock;
|
||||
unsigned pending_acks;
|
||||
struct kvm *kvm;
|
||||
struct kvm_kpic_state pics[2]; /* 0 is master pic, 1 is slave pic */
|
||||
|
Reference in New Issue
Block a user