]> git.baikalelectronics.ru Git - kernel.git/commit
s390/entry: use cpu alternative for stck/stckf
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 2 Feb 2021 12:46:47 +0000 (13:46 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:05 +0000 (15:57 +0100)
commit8aca3055f045bf81ba9cbf378e1803af23db7164
treec43c16fa7dbdd8eee905283224ea88328ae51f12
parentca7d043d72c437be5c6cada083e596033343f92b
s390/entry: 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.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/entry.S