]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: cevt-r4k: Make interrupt handler shared
authorJames Hogan <james.hogan@imgtec.com>
Tue, 27 Jan 2015 21:45:52 +0000 (21:45 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Mar 2015 10:04:12 +0000 (12:04 +0200)
commitbd3fe5661379ca764ba71a41d9cb3e29284eaba5
treed000a2afda8bbd2a9f9c62ad98720adb5451d8c8
parent6cb09129d91bc63b064b2a449fe544e13956b9cf
MIPS: cevt-r4k: Make interrupt handler shared

Make the cevt-r4k interrupt handler shared so that other interrupt
handlers (specifically the performance counter overflow handler and fast
debug channel interrupt handler) can share the same interrupt line.

This simply imvolves returning IRQ_NONE when no timer interrupt has been
handled to allow other handlers to run, and passing IRQF_SHARED when
setting up the IRQ handler so that other handlers (with compatible
flags) can be registered.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9128/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cevt-r4k.c