s390/ftrace: simplify enabling/disabling of ftrace_graph_caller
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 8 Oct 2014 08:03:08 +0000 (10:03 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 9 Oct 2014 07:14:20 +0000 (09:14 +0200)
We can simply patch the mask field within the branch relative on
condition instruction at the beginning of the ftrace_graph_caller
code block.
This makes the logic even simpler and we get rid of the displacement
calculation.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found