[PATCH] sched_clock: fix postinit no sched_clock function check
Will Deacon
will.deacon at arm.com
Wed Oct 2 13:48:41 EDT 2013
On Wed, Oct 02, 2013 at 06:42:40PM +0100, Stephen Boyd wrote:
> On 10/02/13 10:27, Santosh Shilimkar wrote:
> > Really... I have not created patch out of fun.
> > Its broken on my keystone machine at least where the sched_clock is
> > falling back on jiffy based sched_clock even in presence of arch_timer
> > sched_clock.
>
> How is that possible? sched_clock_func is only assigned by
> arch/arm/kernel/arch_timer.c when the architected timer is detected and
> sched_clock() in kernel/time/sched_clock.c calls that function pointer
> unconditionally. The only way I see this happening is if the architected
> timer rate is zero.
^^^^^^^^^^^^^^^^^^
*cough* CNTFRQ *cough*
:)
Will
More information about the linux-arm-kernel
mailing list