Skip to content

Commit 9ce6d35

Browse files
lyakhcfriedt
authored andcommitted
xtensa: export syscall helpers
When building with user space and LLEXT support, syscall helpers need to be exported. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent 748b491 commit 9ce6d35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/xtensa/core/syscall_helper.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#include <string.h>
88

99
#include <zephyr/arch/xtensa/syscall.h>
10-
1110
#include <zephyr/internal/syscall_handler.h>
11+
#include <zephyr/llext/symbol.h>
1212
#include <xtensa_internal.h>
1313

1414
#ifdef CONFIG_XTENSA_SYSCALL_USE_HELPER
@@ -33,6 +33,7 @@ uintptr_t xtensa_syscall_helper_args_6(uintptr_t arg1, uintptr_t arg2,
3333

3434
return a2;
3535
}
36+
EXPORT_SYMBOL(xtensa_syscall_helper_args_6);
3637

3738
uintptr_t xtensa_syscall_helper_args_5(uintptr_t arg1, uintptr_t arg2,
3839
uintptr_t arg3, uintptr_t arg4,
@@ -53,6 +54,7 @@ uintptr_t xtensa_syscall_helper_args_5(uintptr_t arg1, uintptr_t arg2,
5354

5455
return a2;
5556
}
57+
EXPORT_SYMBOL(xtensa_syscall_helper_args_5);
5658

5759
uintptr_t xtensa_syscall_helper_args_4(uintptr_t arg1, uintptr_t arg2,
5860
uintptr_t arg3, uintptr_t arg4,
@@ -72,6 +74,7 @@ uintptr_t xtensa_syscall_helper_args_4(uintptr_t arg1, uintptr_t arg2,
7274

7375
return a2;
7476
}
77+
EXPORT_SYMBOL(xtensa_syscall_helper_args_4);
7578

7679
#endif /* CONFIG_XTENSA_SYSCALL_USE_HELPER */
7780

0 commit comments

Comments
 (0)