Re: powerpc: use time64_t in read_persistent_clock

2018-06-18 Thread Arnd Bergmann
On Thu, Jun 14, 2018 at 9:03 PM, Mathieu Malaterre wrote: > On Thu, Jun 14, 2018 at 1:46 PM Arnd Bergmann wrote: >> On Wed, Jun 13, 2018 at 10:24 PM, Mathieu Malaterre wrote: > >> Can you confirm that this patch addresses your problem? > > Yes ! > > Before: > [5.986710] rtc-generic rtc-gener

Re: powerpc: use time64_t in read_persistent_clock

2018-06-14 Thread Mathieu Malaterre
On Thu, Jun 14, 2018 at 1:46 PM Arnd Bergmann wrote: > > On Wed, Jun 13, 2018 at 10:24 PM, Mathieu Malaterre wrote: > > Arnd, > > > > In 5bfd643583b2e I can see that you changed: > > > > $ git show 5bfd643583b2e -- arch/powerpc/platforms/powermac/time.c > > [...] > > #ifdef CONFIG_ADB_PMU > > -s

Re: powerpc: use time64_t in read_persistent_clock

2018-06-14 Thread Arnd Bergmann
On Wed, Jun 13, 2018 at 10:24 PM, Mathieu Malaterre wrote: > Arnd, > > In 5bfd643583b2e I can see that you changed: > > $ git show 5bfd643583b2e -- arch/powerpc/platforms/powermac/time.c > [...] > #ifdef CONFIG_ADB_PMU > -static unsigned long pmu_get_time(void) > +static time64_t pmu_get_time(voi