Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/vdso: fix clock_gettime_fallback for vdso32
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 isn't yet called from the 32-bit vdso. Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> [chleroy: Moved into the #ifdef CONFIG_VDSO32 block] Fixes: d0e3fc6 ("powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
- Loading branch information