]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Remove redundant IPTI==IPPCI logic
authorJames Hogan <james.hogan@imgtec.com>
Tue, 27 Jan 2015 21:45:49 +0000 (21:45 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Mar 2015 10:04:12 +0000 (12:04 +0200)
commitf3ef9254aa87aa28505525bada17e8d8c875e418
tree7095e8c98c42b1f6ebe1b49409e3285894277a77
parentab00fe5a13f03cf90f99f55fb2ffaa2cb99ddefa
MIPS: Remove redundant IPTI==IPPCI logic

The situation where the timer interrupt is on the same line as the
performance counter interrupt is handled in per_cpu_trap_init() by
setting cp0_perfcount_irq to -1, so there is no need to duplicate the
logic conditional upon cp0_perfcount_irq >= 0 in perf
(init_hw_perf_events()) and oprofile (mipsxx_init()).

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/9125/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c
arch/mips/oprofile/op_model_mipsxx.c