drivers/irqchip: xtensa-mx: fix mask and unmask
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 24 Jan 2019 22:06:49 +0000 (14:06 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 26 Jan 2019 10:02:15 +0000 (02:02 -0800)
commiteb271710ec0241a99d1cfcd2a887172ac0858aa9
treed4ad6032d6d9832abf725cf6d6f454827bdc43b2
parentbb6652363be0415578ec4a8794cbe9403db9c336
drivers/irqchip: xtensa-mx: fix mask and unmask

xtensa_irq_mask and xtensa_irq_unmask don't do the right thing when
called for the first two external IRQs. Treat these IRQs as per-CPU
IRQs.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
drivers/irqchip/irq-xtensa-mx.c