sched/tls: Wrap up_info_size into tls_info_size

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-06-05 19:17:33 +08:00
committed by Masayuki Ishikawa
parent 8543df7e4c
commit 11c8f3125d
12 changed files with 21 additions and 23 deletions
-2
View File
@@ -1838,8 +1838,6 @@ int up_timer_start(FAR const struct timespec *ts);
#ifdef CONFIG_SCHED_THREAD_LOCAL
int up_tls_size(void);
#else
#define up_tls_size() sizeof(struct tls_info_s)
#endif
/****************************************************************************