]> git.karo-electronics.de Git - linux-beck.git/commit
s390/sysinfo: use basic block for stsi inline assembly
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 20 Jun 2016 12:05:54 +0000 (14:05 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 28 Jun 2016 07:32:36 +0000 (09:32 +0200)
commit2c79813a1f459dd702f9b324a96b0849dd02a6a4
tree6e67856b1018819b8e6986081d3c88c4de21efc9
parent80a60f6ef19a0d4d06a55065f69fa3dbbbac8bcc
s390/sysinfo: use basic block for stsi inline assembly

Use only simple inline assemblies which consist of a single basic
block if the register asm construct is being used.

Otherwise gcc would generate broken code if the compiler option
--sanitize-coverage=trace-pc would be used.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/sysinfo.c