1 /* Inline assembler kernel functions and macros */
2 
3 /*
4  * Copyright (c) 2015, Wind River Systems, Inc.
5  * Copyright (c) 2017, Oticon A/S
6  *
7  * SPDX-License-Identifier: Apache-2.0
8  */
9 
10 #ifndef ZEPHYR_ARCH_POSIX_INCLUDE_ASM_INLINE_H_
11 #define ZEPHYR_ARCH_POSIX_INCLUDE_ASM_INLINE_H_
12 
13 #if !defined(CONFIG_ARCH_POSIX)
14 #error The arch/posix/include/asm_inline.h is only for the POSIX architecture
15 #endif
16 
17 #if defined(__GNUC__)
18 #include <asm_inline_gcc.h> /* The empty one.. */
19 #include <zephyr/arch/posix/asm_inline_gcc.h>
20 #else
21 #include <asm_inline_other.h>
22 #endif /* __GNUC__ */
23 
24 #endif /* ZEPHYR_ARCH_POSIX_INCLUDE_ASM_INLINE_H_ */
25