s390/vtime: use cpu alternative for stck/stckf
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 2 Feb 2021 15:59:50 +0000 (16:59 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:06 +0000 (15:57 +0100)
commit1c7673476b82983768c6a4dd78775f817f0e0f88
treea5c44226c1785f8a4eb5efd9f5bd781eee2f3129
parent80841ad8d4ca3e91d90e18b4fa0cc1c925e9fad1
s390/vtime: use cpu alternative for stck/stckf

Use a cpu alternative to switch between stck and stckf instead of
making it compile time dependent. This will also make kernels compiled
for old machines, but running on newer machines, use stckf.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vtime.c