mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
MIPS: Malta: Convert IRQ controller lock to raw spinlock.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
ed14bbb24e
commit
a963dc70a2
@ -52,7 +52,7 @@ static unsigned long _msc01_biu_base;
|
|||||||
static unsigned long _gcmp_base;
|
static unsigned long _gcmp_base;
|
||||||
static unsigned int ipi_map[NR_CPUS];
|
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)
|
static inline int mips_pcibios_iack(void)
|
||||||
{
|
{
|
||||||
@ -103,7 +103,7 @@ static inline int get_int(void)
|
|||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
int irq;
|
int irq;
|
||||||
spin_lock_irqsave(&mips_irq_lock, flags);
|
raw_spin_lock_irqsave(&mips_irq_lock, flags);
|
||||||
|
|
||||||
irq = mips_pcibios_iack();
|
irq = mips_pcibios_iack();
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ static inline int get_int(void)
|
|||||||
* on an SMP system, so leave it up to the generic code...
|
* 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;
|
return irq;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user