Re: [PATCH v3] powerpc/vdso: fix clock_gettime_fallback for vdso32

2021-01-15 Thread Michael Ellerman
On Tue, 12 Jan 2021 11:55:15 + (UTC), Christophe Leroy wrote: > The second argument of __kernel_clock_gettime64 points to a struct > __kernel_timespec, with 64-bit time_t, so use the clock_gettime64 syscall > in the fallback function for the 32-bit vdso. Similarily, > clock_getres_fallback sho

[PATCH v3] powerpc/vdso: fix clock_gettime_fallback for vdso32

2021-01-12 Thread Christophe Leroy
From: Andreas Schwab The second argument of __kernel_clock_gettime64 points to a struct __kernel_timespec, with 64-bit time_t, so use the clock_gettime64 syscall in the fallback function for the 32-bit vdso. Similarily, clock_getres_fallback should use the clock_getres_time64 syscall, though it