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

Stephen Boyd
2011-04-23T21:33:01Z

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