projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c15942
)
MIPS: alchemy: Use irq_set_chip_handler_name_locked()
author
Thomas Gleixner
<
[email protected]
>
Mon, 13 Jul 2015 20:46:01 +0000
(20:46 +0000)
committer
Ralf Baechle
<
[email protected]
>
Wed, 26 Aug 2015 13:23:28 +0000
(15:23 +0200)
Hand in irq_data and avoid the redundant lookup of irq_desc.
Originally-from: Jiang Liu <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Cc: LKML <
[email protected]
>
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10700/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/alchemy/common/irq.c
patch
|
blob
|
history
diff --git
a/arch/mips/alchemy/common/irq.c
b/arch/mips/alchemy/common/irq.c
index 6cb60abfdcc909b0aea310736a9fa5052d8e9d6b..4c496c50edf699a6ed426f4f3d658bd2919cf6db 100644
(file)
--- a/
arch/mips/alchemy/common/irq.c
+++ b/
arch/mips/alchemy/common/irq.c
@@
-491,7
+491,7
@@
static int au1x_ic_settype(struct irq_data *d, unsigned int flow_type)
default:
ret = -EINVAL;
}
-
__irq_set_chip_handler_name_locked(d->irq
, chip, handler, name);
+
irq_set_chip_handler_name_locked(d
, chip, handler, name);
wmb();
@@
-703,7
+703,7
@@
static int au1300_gpic_settype(struct irq_data *d, unsigned int type)
return -EINVAL;
}
-
__irq_set_chip_handler_name_locked(d->irq
, &au1300_gpic, hdl, name);
+
irq_set_chip_handler_name_locked(d
, &au1300_gpic, hdl, name);
au1300_gpic_chgcfg(d->irq - ALCHEMY_GPIC_INT_BASE, GPIC_CFG_IC_MASK, s);