summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-16 20:00:35 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-21 07:06:20 +0300
commitcef37ac119b1abffcb41a9a706792968676ea106 (patch)
tree0360ed0876cbd536106706cea151f48888a67cdd /arch/powerpc/lib/code-patching.c
parent11ed8c5569b149a065184dc8ce22414aac2f20e9 (diff)
downloadlinux-cef37ac119b1abffcb41a9a706792968676ea106.tar.xz
powerpc/spufs: use timespec64 for timestamps
The switch log prints the tv_sec portion of timespec as a 32-bit number, while overflows in 2106. It also uses the timespec type, which is safe on 64-bit architectures, but deprecated because it causes overflows in 2038 elsewhere. This changes it to timespec64 and printing a 64-bit number for consistency. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions