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:
472900b
)
[PATCH] small irq management simplification
author
Jan Beulich
<
[email protected]
>
Fri, 16 Feb 2007 09:28:26 +0000
(
01:28
-0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 16 Feb 2007 16:14:00 +0000
(08:14 -0800)
Use mask_ack_irq() where possible.
Signed-off-by: Jan Beulich <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/irq/chip.c
patch
|
blob
|
history
diff --git
a/kernel/irq/chip.c
b/kernel/irq/chip.c
index e6dc8b8839dd3544eeeb4932c6fc1f30d11cbdb3..0133f4f9e9f0c71633ccff2d4029f479148d0af9 100644
(file)
--- a/
kernel/irq/chip.c
+++ b/
kernel/irq/chip.c
@@
-565,10
+565,8
@@
__set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
/* Uninstall? */
if (handle == handle_bad_irq) {
- if (desc->chip != &no_irq_chip) {
- desc->chip->mask(irq);
- desc->chip->ack(irq);
- }
+ if (desc->chip != &no_irq_chip)
+ mask_ack_irq(desc, irq);
desc->status |= IRQ_DISABLED;
desc->depth = 1;
}