diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-17 05:44:34 +0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-03 15:11:19 -0700 |
commit | 33c8213d6930cfa1d09e2912b9e2d59f251c33b7 (patch) | |
tree | 79e285ccb3febd50e10f5e309ff3ca2632c16aee /arch/xtensa | |
parent | 2e6ee5ec88dd9d4d4e934709200259538160039d (diff) |
xtensa: fix xtensa_irq_unmask calls
xtensa_irq_disable/xtensa_irq_enable used to call xtensa_irq_unmask with
wrong argument.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/irq.c b/arch/xtensa/kernel/irq.c index 4340ee076bd..98e77c3ef1c 100644 --- a/arch/xtensa/kernel/irq.c +++ b/arch/xtensa/kernel/irq.c @@ -84,12 +84,12 @@ static void xtensa_irq_unmask(struct irq_data *d) static void xtensa_irq_enable(struct irq_data *d) { variant_irq_enable(d->irq); - xtensa_irq_unmask(d->irq); + xtensa_irq_unmask(d); } static void xtensa_irq_disable(struct irq_data *d) { - xtensa_irq_mask(d->irq); + xtensa_irq_mask(d); variant_irq_disable(d->irq); } |