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

Mattias Wallin mattias.wallin at stericsson.com
Wed Jun 1 10:22:06 EDT 2011

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?

More information about the linux-arm-kernel mailing list