projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a963dc7
)
MIPS: PowerTV: Convert IRQ controller lock to raw spinlock.
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:34 +0000
(12:53 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:34 +0000
(12:53 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: David VomLehn <dvomlehn@cisco.com>
arch/mips/powertv/asic/asic_int.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/powertv/asic/asic_int.c
b/arch/mips/powertv/asic/asic_int.c
index 80b2eed21ac3d5f81549a09773b6961d48824e9a..325fab9685d1c57ce73d806e194dbc0e167f4946 100644
(file)
--- a/
arch/mips/powertv/asic/asic_int.c
+++ b/
arch/mips/powertv/asic/asic_int.c
@@
-39,21
+39,21
@@
#include <asm/mach-powertv/asic_regs.h>
-static DEFINE_SPINLOCK(asic_irq_lock);
+static DEFINE_
RAW_
SPINLOCK(asic_irq_lock);
static inline int get_int(void)
{
unsigned long flags;
int irq;
- spin_lock_irqsave(&asic_irq_lock, flags);
+
raw_
spin_lock_irqsave(&asic_irq_lock, flags);
irq = (asic_read(int_int_scan) >> 4) - 1;
if (irq == 0 || irq >= NR_IRQS)
irq = -1;
- spin_unlock_irqrestore(&asic_irq_lock, flags);
+
raw_
spin_unlock_irqrestore(&asic_irq_lock, flags);
return irq;
}