clocksource/mips-gic-timer: Stop checking cpu_has_counter
authorPaul Burton <paul.burton@imgtec.com>
Tue, 13 Sep 2016 16:56:44 +0000 (17:56 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 20 Sep 2016 21:24:33 +0000 (23:24 +0200)
commit6982530eab096939f9c5b607a5ce8078df19737e
tree37c258d1835213f9d6107c5635ad8ff4d7ea14f4
parent2fd0c93cd219779eef4b1301f9613e43adc86e39
clocksource/mips-gic-timer: Stop checking cpu_has_counter

The cpu_has_counter macro indicates whether the current CPU has a
working coprocessor 0 count & compare registers, and has no bearing on
the GIC. Stop checking it.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/20160913165644.627-2-paul.burton@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/mips-gic-timer.c