powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64

Michael Ellerman patch-notifications at ellerman.id.au
Mon Apr 8 23:03:38 AEST 2019


On Thu, 2019-04-04 at 12:20:05 UTC, Christophe Leroy wrote:
> Commit b5b4453e7912 ("powerpc/vdso64: Fix CLOCK_MONOTONIC
> inconsistencies across Y2038") changed the type of wtom_clock_sec
> to s64 on PPC64. Therefore, VDSO32 needs to read it with a 4 bytes
> shift in order to retrieve the lower part of it.
> 
> Fixes: b5b4453e7912 ("powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038")
> Reported-by: Christian Zigotzky <chzigotzky at xenosoft.de>
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/dd9a994fc68d196a052b73747e3366c5

cheers


More information about the Linuxppc-dev mailing list