ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 17 Mar 2012 09:30:16 +0000 (15:00 +0530)
committerKevin Hilman <khilman@ti.com>
Wed, 25 Jul 2012 23:05:22 +0000 (16:05 -0700)
commit11d6ec2e488f5613ab380bee9dc9a67c54813b60
treec7fa2da4c5a2ab18d55be067a46d29bfb4f8ed02
parent28a33cbc24e4256c143dce96c7d93bf423229f92
ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

For coupled cpuidle to work when both cpus are active, it needs a global timer
that can handle events for both cpus.  This timer is used as the broadcast
clock-event when the per-cpu timer hardware stop in low power states.
Set the cpumask of clockevent_gpt to all cpus, set the rating correctly, and
set the irq to allow the clockevent core to determine the affinity of the
timer.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/timer.c