]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mcck: optimize user mode check in case of !CONFIG_KVM
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 22 Jun 2021 17:06:18 +0000 (19:06 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 5 Jul 2021 10:44:23 +0000 (12:44 +0200)
commitc553fb99432854bf2d56754fc7be7b0bcdadf6e4
tree14896c2fd3c0de46f144373658a3e4de4bc31773
parent2332bd0302ddedcda4bf0c881dd922a41be06e4a
s390/mcck: optimize user mode check in case of !CONFIG_KVM

In case of the !CONFIG_KVM use "jz" instead of "jnz" when
detecting user mode and get rid of unnecessary jump as result.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Christia 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