| 1 | /* SPDX-License-Identifier: LGPL-2.1-only OR MIT */ |
| 2 | /* |
| 3 | * rseq-ppc-thread-pointer.h |
| 4 | * |
| 5 | * (C) Copyright 2021 - Mathieu Desnoyers <[email protected]> |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | extern "C" |
| 13 | |
| 14 | |
| 15 | static inline void * |
| 16 | |
| 17 | |
| 18 | register void *__result ; |
| 19 | |
| 20 | register void *__result asm ; |
| 21 | |
| 22 | asm ; |
| 23 | return __result; |
| 24 | } |
| 25 | |
| 26 | __cplusplus |
| 27 | } |
| 28 | |
| 29 | |
| 30 |