summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pci_x86.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-02-17 14:35:25 +0000
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-05-11 12:01:09 -0700
commitd19f61f098ae9315b76a97962007f687683916d4 (patch)
treecc8c1d72932ea9883b1ef2cd315a41a08e765a9c /arch/x86/include/asm/pci_x86.h
parent511dd98ce8cf6dc4f8f2cb32a8af31ce9f4ba4a1 (diff)
downloadlinux-0-day-d19f61f098ae9315b76a97962007f687683916d4.tar.gz
linux-0-day-d19f61f098ae9315b76a97962007f687683916d4.tar.xz
x86/PCI: Convert pci_config_lock to raw_spinlock
pci_config_lock must be a real spinlock in preempt-rt. Convert it to raw_spinlock. No change for !RT kernels. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/include/asm/pci_x86.h')
-rw-r--r--arch/x86/include/asm/pci_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h
index 1a0422348d6d3..8d8797eae5d70 100644
--- a/arch/x86/include/asm/pci_x86.h
+++ b/arch/x86/include/asm/pci_x86.h
@@ -83,7 +83,7 @@ struct irq_routing_table {
extern unsigned int pcibios_irq_mask;
-extern spinlock_t pci_config_lock;
+extern raw_spinlock_t pci_config_lock;
extern int (*pcibios_enable_irq)(struct pci_dev *dev);
extern void (*pcibios_disable_irq)(struct pci_dev *dev);