From mboxrd@z Thu Jan 1 00:00:00 1970 From: mattias.wallin@stericsson.com (Mattias Wallin) Date: Wed, 1 Jun 2011 16:22:06 +0200 Subject: [PATCH 2/3] clocksource: add DB8500 PRCMU Timer support In-Reply-To: <4DE5F0DB.2050409@stericsson.com> References: <1306830661-9546-1-git-send-email-mattias.wallin@stericsson.com> <4DE51EB7.7010606@stericsson.com> <4DE5F0DB.2050409@stericsson.com> Message-ID: <4DE64B0E.8030008@stericsson.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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?