diff options
author | Noam Camus <noamc@ezchip.com> | 2016-01-01 11:18:49 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-05-09 06:02:28 +0200 |
commit | eec3c58efa271d7dfa30c978dda2c88280212634 (patch) | |
tree | 028246d1987a60246134ebdee95da4d634445b4e /arch/arc/kernel/smp.c | |
parent | ARC: [plat-axs] Refactor core freq get/set (diff) | |
download | linux-eec3c58efa271d7dfa30c978dda2c88280212634.tar.xz linux-eec3c58efa271d7dfa30c978dda2c88280212634.zip |
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>
Diffstat (limited to 'arch/arc/kernel/smp.c')
-rw-r--r-- | arch/arc/kernel/smp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index ca83ebe15a64..6b1813456336 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c @@ -138,8 +138,6 @@ void start_kernel_secondary(void) if (machine_desc->init_per_cpu) machine_desc->init_per_cpu(cpu); - arc_local_timer_setup(); - local_irq_enable(); preempt_disable(); cpu_startup_entry(CPUHP_AP_ONLINE_IDLE); |