aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-malta
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-02-27 06:53:32 -0500
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 06:53:32 -0500
commita963dc70a286898c91d021e53317ba3d485e0b93 (patch)
treee4b6acc12fabe2d2001bad23afef8dc232de0aa8 /arch/mips/mti-malta
parented14bbb24e62830c2b4c59f4cea3696651d502f0 (diff)
MIPS: Malta: Convert IRQ controller lock to raw spinlock.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-malta')
-rw-r--r--arch/mips/mti-malta/malta-int.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c
index 4c3fca18a171..2cb5ae790203 100644
--- a/arch/mips/mti-malta/malta-int.c
+++ b/arch/mips/mti-malta/malta-int.c
@@ -52,7 +52,7 @@ static unsigned long _msc01_biu_base;
52static unsigned long _gcmp_base; 52static unsigned long _gcmp_base;
53static unsigned int ipi_map[NR_CPUS]; 53static unsigned int ipi_map[NR_CPUS];
54 54
55static DEFINE_SPINLOCK(mips_irq_lock); 55static DEFINE_RAW_SPINLOCK(mips_irq_lock);
56 56
57static inline int mips_pcibios_iack(void) 57static inline int mips_pcibios_iack(void)
58{ 58{
@@ -103,7 +103,7 @@ static inline int get_int(void)
103{ 103{
104 unsigned long flags; 104 unsigned long flags;
105 int irq; 105 int irq;
106 spin_lock_irqsave(&mips_irq_lock, flags); 106 raw_spin_lock_irqsave(&mips_irq_lock, flags);
107 107
108 irq = mips_pcibios_iack(); 108 irq = mips_pcibios_iack();
109 109
@@ -113,7 +113,7 @@ static inline int get_int(void)
113 * on an SMP system, so leave it up to the generic code... 113 * on an SMP system, so leave it up to the generic code...
114 */ 114 */
115 115
116 spin_unlock_irqrestore(&mips_irq_lock, flags); 116 raw_spin_unlock_irqrestore(&mips_irq_lock, flags);
117 117
118 return irq; 118 return irq;
119} 119}