commit | 80906141f79be8be63fc915bfab467029b442ca1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 26 13:57:21 2013 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Nov 26 13:57:21 2013 -0800 |
tree | 791a682ab1dcb29efd3eeeac1f8eb3af0144466c | |
parent | 1c057607d89229f5effaf1acf2ecde24ece41389 [diff] |
Work around CLONE_SETTLS being weird on x86. Unlike other architectures, on x86 (but not x86-64), CLONE_SETTLS takes a pointer to a struct user_desc instead of a pointer to the TLS itself. Rather than have to deal with this here, let's just use the old __set_tls mechanism we used to use (and still use for the main thread on all architectures, so it's not going away any time soon). Bug: 11826724 Change-Id: I02a27939a73ae6cea1134a3f4c1dd7eafea479da