mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
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
This commit is contained in:
committed by
Peter Zijlstra
parent
f7b01bb0b5
commit
72cb1d7f2f
@@ -60,10 +60,6 @@ do { \
|
||||
RSEQ_WRITE_ONCE(*p, v); \
|
||||
} while (0)
|
||||
|
||||
#ifdef RSEQ_SKIP_FASTPATH
|
||||
#include "rseq-skip.h"
|
||||
#else /* !RSEQ_SKIP_FASTPATH */
|
||||
|
||||
#if _MIPS_SZLONG == 64
|
||||
# define LONG ".dword"
|
||||
# define LONG_LA "dla"
|
||||
@@ -773,5 +769,3 @@ error2:
|
||||
rseq_bug("expected value comparison failed");
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* !RSEQ_SKIP_FASTPATH */
|
||||
|
||||
Reference in New Issue
Block a user