Re: [PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-13 Thread Arnd Bergmann
On Tuesday 13 November 2012, Stephen Warren wrote: > > One last thing to watch out for: If you're trying to build a kernel that > > mixes clocksource support with get_arch_timeoffset, you'll need to > > rework the #ifdef in update_wall_time(), since we currently assume with > >

Re: [PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-13 Thread Stephen Warren
On 11/12/2012 02:36 PM, John Stultz wrote: > On 11/12/2012 12:51 PM, Stephen Warren wrote: >> Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each >> arch core provides a single implementation of arch_gettimeoffset(). In >> many cases, different sub-architectures, different

Re: [PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-13 Thread Stephen Warren
On 11/12/2012 02:36 PM, John Stultz wrote: On 11/12/2012 12:51 PM, Stephen Warren wrote: Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each arch core provides a single implementation of arch_gettimeoffset(). In many cases, different sub-architectures, different machines, or

Re: [PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-13 Thread Arnd Bergmann
On Tuesday 13 November 2012, Stephen Warren wrote: One last thing to watch out for: If you're trying to build a kernel that mixes clocksource support with get_arch_timeoffset, you'll need to rework the #ifdef in update_wall_time(), since we currently assume with get_arch_timeoffset() that

Re: [PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread John Stultz
On 11/12/2012 12:51 PM, Stephen Warren wrote: From: Stephen Warren Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each arch core provides a single implementation of arch_gettimeoffset(). In many cases, different sub-architectures, different machines, or different timer

[PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread Stephen Warren
From: Stephen Warren Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each arch core provides a single implementation of arch_gettimeoffset(). In many cases, different sub-architectures, different machines, or different timer providers exist, and so the arch ends up implementing

[PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each arch core provides a single implementation of arch_gettimeoffset(). In many cases, different sub-architectures, different machines, or different timer providers exist, and so the arch ends

Re: [PATCH V2 2/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread John Stultz
On 11/12/2012 12:51 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each arch core provides a single implementation of arch_gettimeoffset(). In many cases, different sub-architectures, different machines, or