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

From: Mattias Wallin
Date: Wed Jun 01 2011 - 10:22:25 EST


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.

I'll go back to having it called from the platform's struct system_time (like in patch 3/3) and place the include file in include/linux.

Thomas, are you ok with having it directly under include/linux or do you want me to create a include/linux/clocksource/ directory and place it there?
--
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/