msm: timer: Enable ARCH_HAS_READ_CURRENT_TIMER for all MSMs
ARCH_HAS_READ_CURRENT_TIMER method should work for all the MSMs
including UP MSMs and shouldn't be restricted to SMP MSMs.
Remove lpj calculation from 7X30 acpuclock driver too.
Change-Id: I78fd6dddca9b37d8fd653d247b142f8c27ea8b5d
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c
index 0bc080c..2dfde6f 100644
--- a/arch/arm/mach-msm/timer.c
+++ b/arch/arm/mach-msm/timer.c
@@ -1123,11 +1123,8 @@
}
msm_sched_clock_init();
- if (is_smp()) {
- __raw_writel(1,
- msm_clocks[MSM_CLOCK_DGT].regbase + TIMER_ENABLE);
- set_delay_fn(read_current_timer_delay_loop);
- }
+ __raw_writel(1, msm_clocks[MSM_CLOCK_DGT].regbase + TIMER_ENABLE);
+ set_delay_fn(read_current_timer_delay_loop);
}
#ifdef CONFIG_SMP