diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 12:35:11 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-16 12:21:32 -0500 |
commit | 5619c28061ff9d2559a93eaba492935530f2a513 (patch) | |
tree | eb5ac1cd829f0bc694cd1005ca2a9119bd7d6d6f /arch/x86/kernel/apic/io_apic.c | |
parent | ced5b697a76d325e7a7ac7d382dbbb632c765093 (diff) |
x86: Convert i8259_lock to raw_spinlock
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-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) | |||
1830 | 1830 | ||
1831 | printk(KERN_DEBUG "\nprinting PIC contents\n"); | 1831 | printk(KERN_DEBUG "\nprinting PIC contents\n"); |
1832 | 1832 | ||
1833 | spin_lock_irqsave(&i8259A_lock, flags); | 1833 | raw_spin_lock_irqsave(&i8259A_lock, flags); |
1834 | 1834 | ||
1835 | v = inb(0xa1) << 8 | inb(0x21); | 1835 | v = inb(0xa1) << 8 | inb(0x21); |
1836 | printk(KERN_DEBUG "... PIC IMR: %04x\n", v); | 1836 | printk(KERN_DEBUG "... PIC IMR: %04x\n", v); |
@@ -1844,7 +1844,7 @@ __apicdebuginit(void) print_PIC(void) | |||
1844 | outb(0x0a,0xa0); | 1844 | outb(0x0a,0xa0); |
1845 | outb(0x0a,0x20); | 1845 | outb(0x0a,0x20); |
1846 | 1846 | ||
1847 | spin_unlock_irqrestore(&i8259A_lock, flags); | 1847 | raw_spin_unlock_irqrestore(&i8259A_lock, flags); |
1848 | 1848 | ||
1849 | printk(KERN_DEBUG "... PIC ISR: %04x\n", v); | 1849 | printk(KERN_DEBUG "... PIC ISR: %04x\n", v); |
1850 | 1850 | ||