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:
46e48e2
)
genirq/timings: Move free timings out of spinlocked region
author
Thomas Gleixner
<
[email protected]
>
Thu, 29 Jun 2017 21:33:39 +0000
(23:33 +0200)
committer
Thomas Gleixner
<
[email protected]
>
Tue, 4 Jul 2017 10:46:16 +0000
(12:46 +0200)
No point to do memory management from a interrupt disabled spin locked
region.
Signed-off-by: Thomas Gleixner <
[email protected]
>
Reviewed-by: Marc Zyngier <
[email protected]
>
Cc: Daniel Lezcano <
[email protected]
>
Cc: Heiko Stuebner <
[email protected]
>
Cc: Julia Cartwright <
[email protected]
>
Cc: Linus Walleij <
[email protected]
>
Cc: Brian Norris <
[email protected]
>
Cc: Doug Anderson <
[email protected]
>
Cc:
[email protected]
Cc: John Keeping <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
kernel/irq/manage.c
patch
|
blob
|
history
diff --git
a/kernel/irq/manage.c
b/kernel/irq/manage.c
index 3e693430bfe1afd2b37e41b3de609541446f74dd..91e1f2390752cb443c822957976a3e7aba867811 100644
(file)
--- a/
kernel/irq/manage.c
+++ b/
kernel/irq/manage.c
@@
-1489,7
+1489,6
@@
static struct irqaction *__free_irq(unsigned int irq, void *dev_id)
if (!desc->action) {
irq_settings_clr_disable_unlazy(desc);
irq_shutdown(desc);
- irq_remove_timings(desc);
}
#ifdef CONFIG_SMP
@@
-1531,8
+1530,10
@@
static struct irqaction *__free_irq(unsigned int irq, void *dev_id)
}
}
- if (!desc->action)
+ if (!desc->action)
{
irq_release_resources(desc);
+ irq_remove_timings(desc);
+ }
mutex_unlock(&desc->request_mutex);