diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-03-10 11:37:01 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-02 11:20:44 +0200 |
commit | 3c29b6038828c1f4c9ecbfec14d4fc5e25f1c947 (patch) | |
tree | 79928183bab2f4dbb771fc575876f494b74c4d75 /arch/powerpc/kernel/irq.c | |
parent | powerpc/40x: Clear MSR_DR in one insn instead of two (diff) | |
download | linux-3c29b6038828c1f4c9ecbfec14d4fc5e25f1c947.tar.xz linux-3c29b6038828c1f4c9ecbfec14d4fc5e25f1c947.zip |
powerpc/8xx: fix mpc8xx_get_irq() return on no irq
IRQ 0 is a valid HW interrupt. So get_irq() shall return 0 when
there is no irq, instead of returning irq_linear_revmap(... ,0)
Fixes: f2a0bd3753dad ("[POWERPC] 8xx: powerpc port of core CPM PIC")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions