s390/time: remove get_tod_clock_ext()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 8 Feb 2021 15:19:27 +0000 (16:19 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sat, 13 Feb 2021 16:17:55 +0000 (17:17 +0100)
commit7ef37dd7bb00b94e027f63ef626a3a1c58474da9
tree68ffc56317c142e8ff249ae27a74bc5cfb1c06b4
parentfc4a925f7774fe14f8f6318d0d7ed7d2596f073f
s390/time: remove get_tod_clock_ext()

Remove get_tod_clock_ext() and the STORE_CLOCK_EXT_SIZE define. This
enforces all users of the existing low level functions to use a union
tod_clock.

This way there is now a compile time check for the correct time and
therefore also if the size of the argument matches what will be
written to by the STORE CLOCK EXTENDED instruction.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/timex.h