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)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 12 Jun 2013 21:02:13 +0000 (14:02 -0700)
commit38ff87f77af0b5a93fc8581cff1d6e5692ab8970
tree7a157528657400d0486cd4e74da98bad40992c3c
parentffbfb5e316f0db486798ccf1db36a577ffe79637
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.

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>
38 files changed:
arch/arm/Kconfig
arch/arm/common/timer-sp.c
arch/arm/include/asm/sched_clock.h [deleted file]
arch/arm/kernel/Makefile
arch/arm/kernel/arch_timer.c
arch/arm/kernel/sched_clock.c [deleted file]
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/tegra20_timer.c
drivers/clocksource/time-armada-370-xp.c
drivers/clocksource/timer-marco.c
drivers/clocksource/timer-prima2.c
include/linux/sched_clock.h [new file with mode: 0644]
init/Kconfig
init/main.c
kernel/time/Makefile
kernel/time/sched_clock.c [new file with mode: 0644]