mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
Introduce a rseq-x86-bits.h template header which is internally included to generate the static inline functions covering: - relaxed and release memory ordering, - per-cpu-id and per-mm-cid per-cpu data access. This introduces changes to the rseq.h selftests API which require to update the rseq selftest programs. Similar API/templating changes need to be done for other architectures. Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
12 lines
288 B
C
12 lines
288 B
C
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
|
|
/*
|
|
* rseq-bits-reset.h
|
|
*
|
|
* (C) Copyright 2016-2022 - Mathieu Desnoyers <[email protected]>
|
|
*/
|
|
|
|
#undef RSEQ_TEMPLATE_IDENTIFIER
|
|
#undef RSEQ_TEMPLATE_CPU_ID_FIELD
|
|
#undef RSEQ_TEMPLATE_CPU_ID_OFFSET
|
|
#undef RSEQ_TEMPLATE_SUFFIX
|