MIPS: allow GIC clockevent device config from other CPUs
authorPaul Burton <paul.burton@imgtec.com>
Wed, 5 Mar 2014 11:35:53 +0000 (11:35 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Fri, 2 May 2014 15:39:11 +0000 (16:39 +0100)
commit414408d0eedd782a397ba89fd8f732ffbd3acde8
treea747abf36d79d04d5a916a4e6fc230ccdf1776e7
parent0467811e9bdb22c7a1595db4c230efd99265e3c7
MIPS: allow GIC clockevent device config from other CPUs

This patch allows the GIC clockevent device for a CPU to be configured
by another CPU. This makes GIC clockevent devices suitable for use as
the tick broadcast device, where formerly the GIC timer local to the
configuring CPU would have been configured incorrectly.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/gic.h
arch/mips/kernel/cevt-gic.c
arch/mips/kernel/irq-gic.c