summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-10-17 08:30:25 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:43:01 +0200
commitf7a75f0a40073601a0fb509290019d5f3f32b94b (patch)
tree61b4e44ec385b17fe0177fbece0c02d7ad1e882f /arch/mips
parentBreak ELF_PLATFORM and stack pointer randomization dependency (diff)
downloadlinux-f7a75f0a40073601a0fb509290019d5f3f32b94b.tar.xz
linux-f7a75f0a40073601a0fb509290019d5f3f32b94b.zip
spin_lock_unlocked cleanups
Replace some SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/pci/ops-pmcmsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/ops-pmcmsp.c b/arch/mips/pci/ops-pmcmsp.c
index 09fa007c1d1b..059eade96f2e 100644
--- a/arch/mips/pci/ops-pmcmsp.c
+++ b/arch/mips/pci/ops-pmcmsp.c
@@ -206,7 +206,7 @@ static void pci_proc_init(void)
}
#endif /* CONFIG_PROC_FS && PCI_COUNTERS */
-spinlock_t bpci_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(bpci_lock);
/*****************************************************************************
*