Home
last modified time | relevance | path

Searched hist:"5235 afa89a246c9d5ab35996bc38681c474c3ed7" (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/platforms/powermac/
H A Dtime.cdiff 5235afa89a246c9d5ab35996bc38681c474c3ed7 Mon Apr 23 10:36:41 CEST 2018 Arnd Bergmann <arnd@arndb.de> 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>
/linux/arch/powerpc/platforms/8xx/
H A Dm8xx_setup.cdiff 5235afa89a246c9d5ab35996bc38681c474c3ed7 Mon Apr 23 10:36:41 CEST 2018 Arnd Bergmann <arnd@arndb.de> 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>
/linux/arch/powerpc/kernel/
H A Dtime.cdiff 5235afa89a246c9d5ab35996bc38681c474c3ed7 Mon Apr 23 10:36:41 CEST 2018 Arnd Bergmann <arnd@arndb.de> 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>