drivers/perf: arm_pmu: Always consider IRQ0 as an error
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Sep 2016 14:34:44 +0000 (15:34 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 6 Sep 2016 17:26:33 +0000 (18:26 +0100)
commit282b87963556a971f9acbe3d430991b80480541a
tree011dc587ee908f008dfee238e7db628a5eb3d825
parent98ab10e9770e3ce9fbd263689644be9d81a06885
drivers/perf: arm_pmu: Always consider IRQ0 as an error

As declared by the chief penguin, and enforced by the NO_IRQ brigade,
IRQ0 doesn't exist, and is considered as an error (no irq).

Unfortunately, the arm_pmu driver still considers it as valid in
a large number of cases. Let's fix this.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm_pmu.c