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)
commite2c13d64200bff0aa3964017cfabb0bc47691022
tree14896c2fd3c0de46f144373658a3e4de4bc31773
parentfbbdfca5c5535f52ba47e46eacac899dfad7f384
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