s390/cpumf: fix qsi inline assembly
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 10 Dec 2016 09:37:32 +0000 (10:37 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Dec 2016 15:33:40 +0000 (16:33 +0100)
commit259acc5c255a4260b3db0461afd5d93fabfe8524
tree9211ab7aeef24e5dce04d6aee018164781ead011
parent6d7b2ee9d56af3d17d88b0f43b7dc14ee38161b7
s390/cpumf: fix qsi inline assembly

The qsi inline assembly takes an initialized "cc" variable as output
operand but specifies it as write-to operand only instead of
read/write operand. This allows the compiler to omit the
initialization, which in fact it also does (gcc 6.1).

Use the "+" constraint modifier to fix this. In addition also use the
Q constraint to specify the hws_qsi_info_block memory location, so the
compiler can generate slightly better code. Also get rid of the cc
clobber since none of the instructions within the inline assembly
modify the condition code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h