diff options
Diffstat (limited to 'linuxthreads/sysdeps/i386/tls.h')
-rw-r--r-- | linuxthreads/sysdeps/i386/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h index 4d701cc6e8..79e4fde9c7 100644 --- a/linuxthreads/sysdeps/i386/tls.h +++ b/linuxthreads/sysdeps/i386/tls.h @@ -94,6 +94,8 @@ typedef struct if (__builtin_expect (result, 0) != 0) \ /* Nothing else we can do. */ \ asm ("hlt"); \ + \ + asm ("movw %w0, %%gs" : : "q" (7)); \ } while (0) |