Re: [PATCH 2/3] clocksource: add DB8500 PRCMU Timer support

From: Russell King - ARM Linux
Date: Wed Jun 01 2011 - 10:25:34 EST


On Wed, Jun 01, 2011 at 04:22:06PM +0200, Mattias Wallin wrote:
> On 06/01/2011 09:57 AM, Mattias Wallin wrote:
>> I'll experiment with it during the day and see how it goes.
> It did not work to have the clocksource init as a core_initcall.
> I got an null pointer oops in sched_clock_poll.
> The lauterbach trace showed that the sched_clock_update_fn was null
> since the poll function was called before the init.

sched_clock is supposed to be setup and initialized really early. Why
are you doing trying to move it soo late?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/