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:
parent
ed54b894b2
commit
8a92862e03
@ -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
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user