diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 18:35:11 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-16 18:21:32 +0100 |
commit | 5619c28061ff9d2559a93eaba492935530f2a513 (patch) | |
tree | eb5ac1cd829f0bc694cd1005ca2a9119bd7d6d6f /arch/x86/kernel/apic | |
parent | x86: Avoid race condition in pci_enable_msix() (diff) | |
download | linux-5619c28061ff9d2559a93eaba492935530f2a513.tar.xz linux-5619c28061ff9d2559a93eaba492935530f2a513.zip |
x86: Convert i8259_lock to raw_spinlock
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index c86591b906fa..f5e40339622b 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -1830,7 +1830,7 @@ __apicdebuginit(void) print_PIC(void) printk(KERN_DEBUG "\nprinting PIC contents\n"); - spin_lock_irqsave(&i8259A_lock, flags); + raw_spin_lock_irqsave(&i8259A_lock, flags); v = inb(0xa1) << 8 | inb(0x21); printk(KERN_DEBUG "... PIC IMR: %04x\n", v); @@ -1844,7 +1844,7 @@ __apicdebuginit(void) print_PIC(void) outb(0x0a,0xa0); outb(0x0a,0x20); - spin_unlock_irqrestore(&i8259A_lock, flags); + raw_spin_unlock_irqrestore(&i8259A_lock, flags); printk(KERN_DEBUG "... PIC ISR: %04x\n", v); |