]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
y2038: vdso: nds32: open-code timespec_add_ns()
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Oct 2019 21:35:28 +0000 (23:35 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Nov 2019 13:38:28 +0000 (14:38 +0100)
commite6071b182df0622636b9cd97a80038a495ccb06f
tree70b1bf9445eb52df16df360f6fa1822683ebe8c7
parent21346564ccad17b928cf0d51584608531d91d298
y2038: vdso: nds32: open-code timespec_add_ns()

The nds32 vdso is now the last user of the deprecated timespec_add_ns().

Change it to an open-coded version like the one it already uses in
do_realtime(). What we should really do though is to use the
generic vdso implementation that is now used in x86. arm and mips.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/kernel/vdso/gettimeofday.c