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)
commit11ed8c5569b149a065184dc8ce22414aac2f20e9
tree00a8650469f3584ac02400b446e1e1aec42c0b71
parentae677ff02f2ddb0980953efd4afed1c90a56c88f
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