sched_clock: Make ARM's sched_clock generic for all architectures
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 2 Jun 2013 06:39:40 +0000 (23:39 -0700)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Mon, 13 Jan 2014 06:33:37 +0000 (11:33 +0530)
commit9677b59f55e348c330eeb8cd9a6f7b2f613839a5
tree51c4e85fb28b3915e3446b142881ce0bcb908e1b
parent8ec79f015299aafb8e44095545a4e2656e6992c9
sched_clock: Make ARM's sched_clock generic for all architectures

Nothing about the sched_clock implementation in the ARM port is
specific to the architecture. Generalize the code so that other
architectures can use it by selecting GENERIC_SCHED_CLOCK.

Bug 1399318

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
[jstultz: Merge minor collisions with other patches in my tree]
Signed-off-by: John Stultz <john.stultz@linaro.org>

(cherry picked from commit 38ff87f77af0b5a93fc8581cff1d6e5692ab8970)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Change-Id: Iaac325635344ef4adee8fa0f9ca11aee089bce0f
38 files changed:
arch/arm/Kconfig
arch/arm/common/timer-sp.c
arch/arm/kernel/Makefile
arch/arm/kernel/arch_timer.c
arch/arm/kernel/time.c
arch/arm/mach-davinci/time.c
arch/arm/mach-imx/time.c
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-mmp/time.c
arch/arm/mach-msm/timer.c
arch/arm/mach-omap1/time.c
arch/arm/mach-omap2/timer.c
arch/arm/mach-pxa/time.c
arch/arm/mach-sa1100/time.c
arch/arm/mach-u300/timer.c
arch/arm/plat-iop/time.c
arch/arm/plat-omap/counter_32k.c
arch/arm/plat-orion/time.c
arch/arm/plat-samsung/samsung-time.c
arch/arm/plat-versatile/sched-clock.c
drivers/clocksource/bcm2835_timer.c
drivers/clocksource/clksrc-dbx500-prcmu.c
drivers/clocksource/dw_apb_timer_of.c
drivers/clocksource/mxs_timer.c
drivers/clocksource/nomadik-mtu.c
drivers/clocksource/samsung_pwm_timer.c
drivers/clocksource/tegra-nvtimers.c
drivers/clocksource/tegra-tsc-timer.c
drivers/clocksource/tegra-wakeup-nvtimers.c
drivers/clocksource/time-armada-370-xp.c
drivers/clocksource/timer-marco.c
drivers/clocksource/timer-prima2.c
include/linux/sched_clock.h [moved from arch/arm/include/asm/sched_clock.h with 75% similarity]
init/Kconfig
init/main.c
kernel/time/Makefile
kernel/time/sched_clock.c [moved from arch/arm/kernel/sched_clock.c with 99% similarity]