]> git.baikalelectronics.ru Git - kernel.git/commit
ia64: efi: use timespec64 for persistent clock
authorArnd Bergmann <arnd@arndb.de>
Fri, 17 Jun 2016 14:48:17 +0000 (16:48 +0200)
committerTony Luck <tony.luck@intel.com>
Fri, 17 Jun 2016 20:45:05 +0000 (13:45 -0700)
commitd3912668a9087eeafb2ca0d08cf554763c5b613f
tree5d1c230b03ddd6cf9a3a395b41382443e9cc3eca
parentac906ebd33f34471dcc16d6e467abbc77a95d2c8
ia64: efi: use timespec64 for persistent clock

We have a generic read_persistent_clock64 interface now, and can
change the ia64 implementation to provide that instead of
read_persistent_clock.

The main point of this is to avoid the use of struct timespec
in the global efi.h, which would cause build errors as soon
as we want to build a kernel without 'struct timespec' defined
on 32-bit architectures.

Aside from this, we get a little closer to removing the
__weak read_persistent_clock() definition, which relies on
converting all architectures to provide read_persistent_clock64
instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c
arch/ia64/kernel/time.c
include/linux/efi.h