[PATCH] arm: sched_clock: Enable HAVE_SCHED_CLOCK support without init_sched_clock

Kyungmin Park kmpark at infradead.org
Thu Sep 15 04:35:45 EDT 2011


On Thu, Sep 15, 2011 at 5:20 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Thu, Sep 15, 2011 at 04:35:12PM +0900, Kyungmin Park wrote:
>> From: Kyungmin Park <kyungmin.park at samsung.com>
>>
>> On Samsung Exynos4 series, EVT0 chip uses the s5p_timer with HAVE_SCHED_CLOCK and remains use the MCT timer without init_sched_clock.
>
> So in other words, sched_clock on exynos4 is broken because the update
> function won't be called, and it'll wrap well below the 64-bit ns range
> required of it.

Right, even though MCT doesn't use the HAVE_SCHED_CLOCK, sched_clock
is override with others.
It mean it should be implement the sched_clock for all boards if there
are some boards use the HAVE_SCHED_CLOCK.

As I remember, there's attempt to solve the sched_clock registration
issue. I'll check it.

Thank you,
Kyungmin Park
>
> NAK.
>



More information about the linux-arm-kernel mailing list