From 919cb7391312a04cb8e36f3ef1fdf34320b9852c Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Tue, 17 Dec 2024 11:11:33 -0300 Subject: [PATCH] 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