Re: [PATCH] clocksource: pass clocksource to read() callback

From: Magnus Damm
Date: Fri Dec 12 2008 - 04:58:23 EST


On Fri, Dec 12, 2008 at 2:01 AM, John Stultz <johnstul@xxxxxxxxxx> wrote:
> On Thu, 2008-12-11 at 20:48 +0900, Magnus Damm wrote:
>> From: Magnus Damm <damm@xxxxxxxxxx>
>>
>> Pass clocksource pointer to the read() callback for clocksources.
>> This allows us to share the callback between multiple instances.
>>
>> Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
>
> Acked-by: John Stultz <johnstul@xxxxxxxxxx>
>
>> ---
>>
>> Applies to linux-next 87602124ea74da54ae39e713a28d5593af9ad5ef
>> May conflict with the arch_gettimeoffset patches on SuperH and Sparc.
>
> Don't worry about the arch_gettimeoffset conflict, its a low priority
> cleanup patch, so I can rework it on top of this.

Thank you, John. I don't mind either way.

I tried hard not to introduce any breakage with this patch, but I have
not cross-compiled it for anything except SuperH. So please test your
platform. Let me know if I managed to break something and I'll fix
things up.

I'm not sure exactly how and when this patch should be applied, but I
assume it's fairly late in the in the merge window?

I guess the liklieness of breakage will increase over time from now
on, so when the time is right please ping me and I'll up-port this
patch straight away.

Thank you.

/ magnus
--
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/