This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 919cb73913 rv-virt/citest: Test GCC's tls (`__thread` keyword)
919cb73913 is described below
commit 919cb7391312a04cb8e36f3ef1fdf34320b9852c
Author: Tiago Medicci Serrano <[email protected]>
AuthorDate: Tue Dec 17 11:11:33 2024 -0300
rv-virt/citest: Test GCC's tls (`__thread` keyword)
Test the GCC's tls with the `__thread` keyword with ostest by
enabling `CONFIG_SCHED_THREAD_LOCAL`.
---
boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig
b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig
index 04343e51f5..70c7193df1 100644
--- a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig
+++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig
@@ -112,6 +112,7 @@ CONFIG_SCHED_HAVE_PARENT=y
CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_LPNTHREADS=1
CONFIG_SCHED_LPWORK=y
+CONFIG_SCHED_THREAD_LOCAL=y
CONFIG_SCHED_USER_IDENTITY=y
CONFIG_SERIAL_UART_ARCH_MMIO=y
CONFIG_SIG_DEFAULT=y