The branch target range of the "j" instruction is 64K, which is not enough for the general case. Suggested-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx> CC: Joel Fernandes <joelaf@xxxxxxxxxx> CC: Peter Zijlstra <peterz@xxxxxxxxxxxxx> CC: Catalin Marinas <catalin.marinas@xxxxxxx> CC: Dave Watson <davejwatson@xxxxxx> CC: Will Deacon <will.deacon@xxxxxxx> CC: Shuah Khan <shuah@xxxxxxxxxx> CC: Andi Kleen <andi@xxxxxxxxxxxxxx> CC: linux-kselftest@xxxxxxxxxxxxxxx CC: "H . Peter Anvin" <hpa@xxxxxxxxx> CC: Chris Lameter <cl@xxxxxxxxx> CC: Russell King <linux@xxxxxxxxxxxxxxxx> CC: Michael Kerrisk <mtk.manpages@xxxxxxxxx> CC: "Paul E . McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> CC: Paul Turner <pjt@xxxxxxxxxx> CC: Boqun Feng <boqun.feng@xxxxxxxxx> CC: Josh Triplett <josh@xxxxxxxxxxxxxxxx> CC: Steven Rostedt <rostedt@xxxxxxxxxxx> CC: Ben Maurer <bmaurer@xxxxxx> CC: linux-api@xxxxxxxxxxxxxxx CC: Andy Lutomirski <luto@xxxxxxxxxxxxxx> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/rseq/rseq-s390.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rseq/rseq-s390.h b/tools/testing/selftests/rseq/rseq-s390.h index fbb97815d71c..7c4f3a70b6c7 100644 --- a/tools/testing/selftests/rseq/rseq-s390.h +++ b/tools/testing/selftests/rseq/rseq-s390.h @@ -117,14 +117,14 @@ do { \ ".long " __rseq_str(RSEQ_SIG) "\n\t" \ __rseq_str(label) ":\n\t" \ teardown \ - "j %l[" __rseq_str(abort_label) "]\n\t" \ + "jg %l[" __rseq_str(abort_label) "]\n\t" \ ".popsection\n\t" #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ ".pushsection __rseq_failure, \"ax\"\n\t" \ __rseq_str(label) ":\n\t" \ teardown \ - "j %l[" __rseq_str(cmpfail_label) "]\n\t" \ + "jg %l[" __rseq_str(cmpfail_label) "]\n\t" \ ".popsection\n\t" static inline __attribute__((always_inline)) -- 2.11.0