Kernel: Disable __thread and TLS on x86_64 for now

They're not yet properly supported.
This commit is contained in:
Gunnar Beutner 2021-06-29 17:56:04 +02:00 committed by Andreas Kling
commit fe2716df21
Notes: sideshowbarker 2024-07-18 11:12:22 +09:00
5 changed files with 28 additions and 6 deletions

View file

@ -26,7 +26,10 @@ struct SpecificTable {
static KeyTable s_keys;
__thread SpecificTable t_specifics;
# ifndef X86_64_NO_TLS
__thread
# endif
SpecificTable t_specifics;
int __pthread_key_create(pthread_key_t* key, KeyDestructor destructor)
{