diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:30 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:30 -0500 |
commit | 4a8a738de637dc7141de5228d2d722573a329b95 (patch) | |
tree | 20abde39e4697d5943dd83126ead21a9f4f8de85 /arch/mips/cavium-octeon/octeon-irq.c | |
parent | 559e25a5e3efe60a22b7f96ea4ad2eb09d996e97 (diff) |
MIPS: Make various locks static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/octeon-irq.c')
-rw-r--r-- | arch/mips/cavium-octeon/octeon-irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c index 0bc79dcede26..5070e960adde 100644 --- a/arch/mips/cavium-octeon/octeon-irq.c +++ b/arch/mips/cavium-octeon/octeon-irq.c | |||
@@ -15,7 +15,6 @@ | |||
15 | 15 | ||
16 | DEFINE_RWLOCK(octeon_irq_ciu0_rwlock); | 16 | DEFINE_RWLOCK(octeon_irq_ciu0_rwlock); |
17 | DEFINE_RWLOCK(octeon_irq_ciu1_rwlock); | 17 | DEFINE_RWLOCK(octeon_irq_ciu1_rwlock); |
18 | DEFINE_SPINLOCK(octeon_irq_msi_lock); | ||
19 | 18 | ||
20 | static int octeon_coreid_for_cpu(int cpu) | 19 | static int octeon_coreid_for_cpu(int cpu) |
21 | { | 20 | { |
@@ -545,6 +544,8 @@ static struct irq_chip octeon_irq_chip_ciu1 = { | |||
545 | 544 | ||
546 | #ifdef CONFIG_PCI_MSI | 545 | #ifdef CONFIG_PCI_MSI |
547 | 546 | ||
547 | static DEFINE_SPINLOCK(octeon_irq_msi_lock); | ||
548 | |||
548 | static void octeon_irq_msi_ack(unsigned int irq) | 549 | static void octeon_irq_msi_ack(unsigned int irq) |
549 | { | 550 | { |
550 | if (!octeon_has_feature(OCTEON_FEATURE_PCIE)) { | 551 | if (!octeon_has_feature(OCTEON_FEATURE_PCIE)) { |