summaryrefslogtreecommitdiff
path: root/lib/test_firmware.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-04-23 10:36:41 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 20:43:34 +1000
commit5235afa89a246c9d5ab35996bc38681c474c3ed7 (patch)
tree63504f5f9900aabca30cb26005248ceb85cf198b /lib/test_firmware.c
parent5bfd643583b2e2a203163fd6b617cd9027054200 (diff)
downloadlinux-next-5235afa89a246c9d5ab35996bc38681c474c3ed7.tar.gz
powerpc: use time64_t in update_persistent_clock
update_persistent_clock() is deprecated because it suffers from overflow in 2038 on 32-bit architectures. This changes powerpc to use the update_persistent_clock64() replacement, and to pass down 64-bit timestamps consistently. This is now simpler, as we no longer have to worry about the offset numbers in tm_year and tm_mon that are different between the Linux conventions and RTAS. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/test_firmware.c')
0 files changed, 0 insertions, 0 deletions