]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic_timer: avoid struct timeval
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 Jan 2018 17:01:50 +0000 (18:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Jan 2018 04:06:16 +0000 (15:06 +1100)
commit0066d88a0fb1441870c68fe7508a3b811d56de5e
tree00a8650469f3584ac02400b446e1e1aec42c0b71
parentf24989f91abbec06d8ba16ee338dc8ca1812991b
powerpc/mpic_timer: avoid struct timeval

In an effort to remove all instances of 'struct timeval'
from the kernel, I'm changing the powerpc mpic_timer interface
to use plain seconds instead. There is only one user of this
interface, and that doesn't use the microseconds portion, so
the code gets noticeably simpler in the process.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mpic_timer.h
arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c
arch/powerpc/sysdev/mpic_timer.c