xref: /linux/tools/testing/selftests/rseq/rseq-thread-pointer.h (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1 /* SPDX-License-Identifier: LGPL-2.1-only OR MIT */
2 /*
3  * rseq-thread-pointer.h
4  *
5  * (C) Copyright 2021 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6  */
7 
8 #ifndef _RSEQ_THREAD_POINTER
9 #define _RSEQ_THREAD_POINTER
10 
11 #if defined(__x86_64__) || defined(__i386__)
12 #include "rseq-x86-thread-pointer.h"
13 #elif defined(__PPC__)
14 #include "rseq-ppc-thread-pointer.h"
15 #else
16 #include "rseq-generic-thread-pointer.h"
17 #endif
18 
19 #endif
20