Re: powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64

From: Michael Ellerman
Date: Mon Apr 08 2019 - 09:03:45 EST


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@xxxxxxxxxxx>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>

Applied to powerpc fixes, thanks.

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

cheers