Remove CONFIG_TLS

A first step in implementing the user-space error is force TLS to be enabled at all times. It is no longer optional
This commit is contained in:
Gregory Nutt 2020-05-07 09:56:21 -06:00 committed by Abdelatif Guettouche
parent ed54b894b2
commit 8a92862e03
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ ifneq ($(CONFIG_STDIO_DISABLE_BUFFERING),y)
CSRCS += setvbuf.c
endif
ifeq ($(CONFIG_TLS),y)
ifneq ($(CONFIG_TLS_NELEM),0)
CSRCS += tls.c
endif

View File

@ -284,7 +284,7 @@ static int user_main(int argc, char *argv[])
check_test_memory_usage();
#endif
#ifdef CONFIG_TLS
#if CONFIG_TLS_NELEM > 0
/* Test TLS */
tls_test();

View File

@ -48,7 +48,7 @@
#include "ostest.h"
#ifdef CONFIG_TLS
#if CONFIG_TLS_NELEM > 0
#include <arch/tls.h>
@ -126,4 +126,4 @@ void tls_test(void)
put_tls_info(&g_save_info);
}
#endif /* CONFIG_TLS */
#endif /* CONFIG_TLS_NELEM > 0 */