projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396c56a
)
sh: mach-se: Fix up irq_desc reference.
author
Paul Mundt
<lethal@linux-sh.org>
Sat, 30 Jan 2010 02:04:38 +0000
(11:04 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sat, 30 Jan 2010 02:04:38 +0000
(11:04 +0900)
The irq_desc needs to be accessed with irq_to_desc(), this fixes up a
build error with irq_desc being undefined.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-se/7206/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/boards/mach-se/7206/irq.c
b/arch/sh/boards/mach-se/7206/irq.c
index 79be4bc59933419e8e41b313e55d4125b6d543be..8d82175d83ab139a6a00d5b29ebf62f0ca6ebe21 100644
(file)
--- a/
arch/sh/boards/mach-se/7206/irq.c
+++ b/
arch/sh/boards/mach-se/7206/irq.c
@@
-89,8
+89,9
@@
static void enable_se7206_irq(unsigned int irq)
static void eoi_se7206_irq(unsigned int irq)
{
unsigned short sts0,sts1;
+ struct irq_desc *desc = irq_to_desc(irq);
- if (!(
irq_desc[irq].
status & (IRQ_DISABLED|IRQ_INPROGRESS)))
+ if (!(
desc->
status & (IRQ_DISABLED|IRQ_INPROGRESS)))
enable_se7206_irq(irq);
/* FPGA isr clear */
sts0 = __raw_readw(INTSTS0);
This page took
0.024738 seconds
and
5
git commands to generate.