Skip to content

Commit dd36389

Browse files
Flavio Ceolincarlescufi
authored andcommitted
arch: xtensa: Not use TLS to store current thread
Xtensa clears out threadptr durint ISR when userspace is enabled. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
1 parent 8679c58 commit dd36389

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/xtensa/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ config XTENSA_MMU
116116
select ARCH_MEM_DOMAIN_SYNCHRONOUS_API if USERSPACE
117117
select XTENSA_SMALL_VECTOR_TABLE_ENTRY
118118
select KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK if XTENSA_RPO_CACHE
119+
select CURRENT_THREAD_USE_NO_TLS if USERSPACE
119120
help
120121
Enable support for Xtensa Memory Management Unit.
121122

0 commit comments

Comments
 (0)