]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/cpacf: get rid of register asm
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 25 Jun 2021 14:42:55 +0000 (16:42 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:15 +0000 (09:39 +0200)
commitb84d0c417a5ac1eb820c8114c0c7cf1fcbf6f017
tree1a7f4db9d9e5f7ba61e576e7d47ff84368b5a9df
parentb49d08acb5d924866b86059dc58a4efa6f39189b
s390/cpacf: get rid of register asm

Using register asm statements has been proven to be very error prone,
especially when using code instrumentation where gcc may add function
calls, which clobbers register contents in an unexpected way.

Therefore get rid of register asm statements in cpacf code, and make
sure this bug class cannot happen.

Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/cpacf.h