[patch 01/16] time: Provide clocksource based sched_clock()

Stephen Boyd sboyd at codeaurora.org
Sat Apr 23 17:33:01 EDT 2011


On 4/23/2011 1:54 PM, Thomas Gleixner wrote:
> Index: linux-2.6-tip/kernel/time/Kconfig
> ===================================================================
> --- linux-2.6-tip.orig/kernel/time/Kconfig
> +++ linux-2.6-tip/kernel/time/Kconfig
> @@ -27,3 +27,7 @@ config GENERIC_CLOCKEVENTS_BUILD
>  	default y
>  	depends on GENERIC_CLOCKEVENTS || GENERIC_CLOCKEVENTS_MIGR
> 
> +# Selectable by architectures which want to reuse the clocksource as
> +# sched_clock
> +config HAVE_CLKSRC_SCHED_CLOCK
> +       bool



More information about the linux-arm-kernel mailing list