Thread (2 messages) 2 messages, 2 authors, 2021-01-15

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

flat view

From: Michael Ellerman <hidden>
Date: 2021-01-15 12:24:51
Also in: lkml

On Tue, 12 Jan 2021 11:55:15 +0000 (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 should use the clock_getres_time64 syscall, though
it isn't yet called from the 32-bit vdso.

[chleroy: Moved into a single #ifdef __powerpc64__ block]
Applied to powerpc/fixes.

[1/1] powerpc/vdso: Fix clock_gettime_fallback for vdso32
      https://git.kernel.org/powerpc/c/41131a5e54ae7ba5a2bb8d7b30d1818b3f5b13d2

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help