aboutsummaryrefslogtreecommitdiffstats
path: root/libc/private/bionic_tls.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-06-13 13:57:51 -0700
committerChristopher Ferris <cferris@google.com>2014-06-18 14:23:46 -0700
commit03eebcb6e8762e668a0d3af6bb303cccb88c5b81 (patch)
tree3c5053d90eb3d1fac8c21fa390367a911e188191 /libc/private/bionic_tls.h
parent64dfbd242cddc3ef95576e27e3940d68b89b5fce (diff)
downloadandroid_bionic-03eebcb6e8762e668a0d3af6bb303cccb88c5b81.tar.gz
android_bionic-03eebcb6e8762e668a0d3af6bb303cccb88c5b81.tar.bz2
android_bionic-03eebcb6e8762e668a0d3af6bb303cccb88c5b81.zip
Move common macros into bionic_macros.h.
Bug: 15590152 Change-Id: I730636613ef3653f68c5ab1d43b53beaf8e0dc25
Diffstat (limited to 'libc/private/bionic_tls.h')
-rw-r--r--libc/private/bionic_tls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h
index b52013f5c..56a61bec3 100644
--- a/libc/private/bionic_tls.h
+++ b/libc/private/bionic_tls.h
@@ -31,6 +31,7 @@
#include <sys/cdefs.h>
#include <sys/limits.h>
+#include "bionic_macros.h"
#include "__get_tls.h"
__BEGIN_DECLS
@@ -84,8 +85,6 @@ enum {
#define BIONIC_TLS_RESERVED_SLOTS GLOBAL_INIT_THREAD_LOCAL_BUFFER_COUNT
#endif
-#define BIONIC_ALIGN(x, a) (((x) + (a - 1)) & ~(a - 1))
-
/*
* Maximum number of elements in the TLS array.
* This includes space for pthread keys and our own internal slots.