selftests/rseq: Remove volatile from __rseq_abi
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Jan 2022 17:12:42 +0000 (12:12 -0500)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 2 Feb 2022 12:11:34 +0000 (13:11 +0100)
commit94b80a19ebfe347a01301d750040a61c38200e2b
tree6379b75274ddf02fd73ce5b84f5100e41bbaa34c
parent930378d056eac2c96407b02aafe4938d0ac9cc37
selftests/rseq: Remove volatile from __rseq_abi

This is done in preparation for the selftest uplift to become compatible
with glibc-2.35.

All accesses to the __rseq_abi fields are volatile, but remove the
volatile from the TLS variable declaration, otherwise we are stuck with
volatile for the upcoming rseq_get_abi() helper.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220124171253.22072-5-mathieu.desnoyers@efficios.com
tools/testing/selftests/rseq/rseq.c
tools/testing/selftests/rseq/rseq.h