]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/uaccess: Use asm goto for __mvc_kernel_nofault()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 13 Jan 2025 12:37:00 +0000 (13:37 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 26 Jan 2025 16:24:05 +0000 (17:24 +0100)
commitc7474da9fef537c0fc89cef552897116456a2e41
tree67b44971de2a8fd09b129525797e2586b5606df8
parent5b629e64e5dd22d2f68f730f0c341342d9b83dda
s390/uaccess: Use asm goto for __mvc_kernel_nofault()

Use asm goto for __mvc_kernel_nofault() if available. This generates
slightly better code, since the error checking happens implicitly with
the goto (aka exception) and the good path comes without any checks and
branches.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/uaccess.h