/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ #ifndef _UAPI_LINUX_RSEQ_H #define _UAPI_LINUX_RSEQ_H /* * linux/rseq.h * * Restartable sequences system call API * * Copyright (c) 2015-2018 Mathieu Desnoyers <[email protected]> */ #include <linux/types.h> #include <asm/byteorder.h> enum rseq_cpu_id_state { … }; enum rseq_flags { … }; enum rseq_cs_flags_bit { … }; enum rseq_cs_flags { … }; /* * struct rseq_cs is aligned on 4 * 8 bytes to ensure it is always * contained within a single cache-line. It is usually declared as * link-time constant data. */ struct rseq_cs { … } __attribute__((aligned …)); /* * struct rseq is aligned on 4 * 8 bytes to ensure it is always * contained within a single cache-line. * * A single struct rseq per thread is allowed. */ struct rseq { … } __attribute__((aligned …)); #endif /* _UAPI_LINUX_RSEQ_H */