diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-02-17 09:35:25 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-05-11 15:01:09 -0400 |
commit | d19f61f098ae9315b76a97962007f687683916d4 (patch) | |
tree | cc8c1d72932ea9883b1ef2cd315a41a08e765a9c /arch/x86/pci/common.c | |
parent | 511dd98ce8cf6dc4f8f2cb32a8af31ce9f4ba4a1 (diff) |
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/pci/common.c')
-rw-r--r-- | arch/x86/pci/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index cf2e93869c48..215a27ae050d 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -76,7 +76,7 @@ struct pci_ops pci_root_ops = { | |||
76 | * This interrupt-safe spinlock protects all accesses to PCI | 76 | * This interrupt-safe spinlock protects all accesses to PCI |
77 | * configuration space. | 77 | * configuration space. |
78 | */ | 78 | */ |
79 | DEFINE_SPINLOCK(pci_config_lock); | 79 | DEFINE_RAW_SPINLOCK(pci_config_lock); |
80 | 80 | ||
81 | static int __devinit can_skip_ioresource_align(const struct dmi_system_id *d) | 81 | static int __devinit can_skip_ioresource_align(const struct dmi_system_id *d) |
82 | { | 82 | { |