]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/jump label: use different nop instruction
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 29 Jan 2015 13:10:22 +0000 (14:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jan 2015 15:33:34 +0000 (16:33 +0100)
commitd5caa4dbf9bd2ad8cd7f6be0ca76722be947182b
tree6d58cdd140333e17c881667e9691b17f7dcd6e4d
parent5c6497c50f8d809eac6d01512c291a1f67382abd
s390/jump label: use different nop instruction

Use a brcl 0,2 instruction for jump label nops during compile time,
so we don't mix up the different nops during mcount/hotpatch call
site detection.
The initial jump label code instruction replacement will exchange
these instructions with either a branch or a brcl 0,0 instruction.

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