diff options
Diffstat (limited to 'linuxthreads/signals.c')
-rw-r--r-- | linuxthreads/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c index be221d7..c044576 100644 --- a/linuxthreads/signals.c +++ b/linuxthreads/signals.c @@ -109,7 +109,7 @@ static void pthread_sighandler_rt(int signo, struct siginfo *si, pthread_descr self; char * in_sighandler; #ifdef __i386__ - asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[GS])); + asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[REG_GS])); #endif self = thread_self(); /* If we're in a sigwait operation, just record the signal received |