OSDN Git Service

ARC: clockevent: switch to cpu notifier for clockevent setup
authorNoam Camus <noamc@ezchip.com>
Fri, 1 Jan 2016 10:18:49 +0000 (15:48 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:28 +0000 (09:32 +0530)
commiteec3c58efa271d7dfa30c978dda2c88280212634
tree028246d1987a60246134ebdee95da4d634445b4e
parent0eeb3dfe4b85aa7367e5e4efc365abbe4e50bbfa
ARC: clockevent: switch to cpu notifier for clockevent setup

ARC Timers so far have been handled as "legacy" w/o explicit description
in DT. This poses challenge for newer platforms wanting to use them.
This series will eventually help move timers over to DT.

This patch does a small change of using a CPU notifier to set clockevent
on non-boot CPUs. So explicit setup is done only on boot CPU (which will
later be done by DT)

Signed-off-by: Noam Camus <noamc@ezchip.com>
[vgupta: broken off from a bigger patch]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/irq.h
arch/arc/kernel/smp.c
arch/arc/kernel/time.c