diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-23 10:36:41 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:43:34 +1000 |
commit | 5235afa89a246c9d5ab35996bc38681c474c3ed7 (patch) | |
tree | 63504f5f9900aabca30cb26005248ceb85cf198b /Makefile | |
parent | 5bfd643583b2e2a203163fd6b617cd9027054200 (diff) | |
download | talos-obmc-linux-5235afa89a246c9d5ab35996bc38681c474c3ed7.tar.gz talos-obmc-linux-5235afa89a246c9d5ab35996bc38681c474c3ed7.zip |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions