clocksource: mips-gic: Use CPU notifiers to setup the timer
authorAndrew Bresticker <abrestic@chromium.org>
Mon, 20 Oct 2014 19:04:04 +0000 (12:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:16 +0000 (07:45 +0100)
commite4752dbbc300939e14029583ba2a0b235b147649
treece68c23d3a64c47b765ef7436ddc8a3e25dba4fa
parentf7ea3060b60a8f32794aa094f9216b198083d232
clocksource: mips-gic: Use CPU notifiers to setup the timer

Instead of requiring an explicit call to gic_clockevent_init in the SMP
startup path, use CPU notifiers to register and enable the GIC timer on
CPU startup.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8139/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/time.h
drivers/clocksource/mips-gic-timer.c