]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfde9d2f53766d7137584706cd5a905e24ddc03a3
treea5c44226c1785f8a4eb5efd9f5bd781eee2f3129
parentc2d7ee2f93a37b7ecd1a3d6bd466445a9623ecfc
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