summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rseq/rseq-ppc.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2022-11-22 21:39:11 +0100
committerPeter Zijlstra <peterz@infradead.org>2022-12-27 12:52:12 +0100
commit72cb1d7f2faca4fba81ab8417367d63852cd490c (patch)
treeaa0eee15499965ede025585ca71eca0e7a4e26a7 /tools/testing/selftests/rseq/rseq-ppc.h
parentrseq: Extend struct rseq with per-memory-map concurrency ID (diff)
downloadlinux-72cb1d7f2faca4fba81ab8417367d63852cd490c.tar.xz
linux-72cb1d7f2faca4fba81ab8417367d63852cd490c.zip
selftests/rseq: Remove RSEQ_SKIP_FASTPATH code
This code is not currently build by the test Makefile, adds complexity, and is not overall useful considering that the abort handling loops to retry the fast-path. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20221122203932.231377-10-mathieu.desnoyers@efficios.com
Diffstat (limited to 'tools/testing/selftests/rseq/rseq-ppc.h')
-rw-r--r--tools/testing/selftests/rseq/rseq-ppc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/testing/selftests/rseq/rseq-ppc.h b/tools/testing/selftests/rseq/rseq-ppc.h
index bab8e0b9fb11..f82d95c1bb3f 100644
--- a/tools/testing/selftests/rseq/rseq-ppc.h
+++ b/tools/testing/selftests/rseq/rseq-ppc.h
@@ -36,10 +36,6 @@ do { \
RSEQ_WRITE_ONCE(*p, v); \
} while (0)
-#ifdef RSEQ_SKIP_FASTPATH
-#include "rseq-skip.h"
-#else /* !RSEQ_SKIP_FASTPATH */
-
/*
* The __rseq_cs_ptr_array and __rseq_cs sections can be used by debuggers to
* better handle single-stepping through the restartable critical sections.
@@ -787,5 +783,3 @@ error2:
rseq_bug("expected value comparison failed");
#endif
}
-
-#endif /* !RSEQ_SKIP_FASTPATH */