Skip to content

Commit

Permalink
MIPS: Malta: Convert IRQ controller lock to raw spinlock.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 27, 2010
1 parent ed14bbb commit a963dc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/mips/mti-malta/malta-int.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static unsigned long _msc01_biu_base;
static unsigned long _gcmp_base;
static unsigned int ipi_map[NR_CPUS];

static DEFINE_SPINLOCK(mips_irq_lock);
static DEFINE_RAW_SPINLOCK(mips_irq_lock);

static inline int mips_pcibios_iack(void)
{
Expand Down Expand Up @@ -103,7 +103,7 @@ static inline int get_int(void)
{
unsigned long flags;
int irq;
spin_lock_irqsave(&mips_irq_lock, flags);
raw_spin_lock_irqsave(&mips_irq_lock, flags);

irq = mips_pcibios_iack();

Expand All @@ -113,7 +113,7 @@ static inline int get_int(void)
* on an SMP system, so leave it up to the generic code...
*/

spin_unlock_irqrestore(&mips_irq_lock, flags);
raw_spin_unlock_irqrestore(&mips_irq_lock, flags);

return irq;
}
Expand Down

0 comments on commit a963dc7

Please sign in to comment.