]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8729056419c582c0bbd7cd0bee0565aea98ceb5f
tree68ffc56317c142e8ff249ae27a74bc5cfb1c06b4
parented6cd30e3900e7cdeedd2a1f5d67f45da0124b92
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