mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -1695,14 +1695,12 @@ int up_timer_start(FAR const struct timespec *ts);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_TLS
|
||||
/* struct tls_info_s;
|
||||
* FAR struct tls_info_s *up_tls_info(void);
|
||||
*
|
||||
* The actual declaration or definition is provided in arch/tls.h. The
|
||||
* actual implementation may be a MACRO or and inline function.
|
||||
*/
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Multiple CPU support
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef CONFIG_TLS
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -148,5 +146,4 @@ void tls_set_element(int elem, uintptr_t value);
|
||||
FAR struct tls_info_s *tls_get_info(void);
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_TLS */
|
||||
#endif /* __INCLUDE_NUTTX_TLS_H */
|
||||
|
||||
Reference in New Issue
Block a user