about summary refs log tree commit diff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-14 16:28:28 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-14 16:28:28 +0000
commit56eea8d1c9d32b401f5872a5f89d64733293ff4b (patch)
tree91fae2f588027b47b3b3fc5fb98ef9172ed6c86a /linuxthreads/pthread.c
parent6213a05545cd8052135271c25b73af2c5490e291 (diff)
downloadglibc-56eea8d1c9d32b401f5872a5f89d64733293ff4b.tar.gz
glibc-56eea8d1c9d32b401f5872a5f89d64733293ff4b.tar.xz
glibc-56eea8d1c9d32b401f5872a5f89d64733293ff4b.zip
Update.
2000-03-14  Andreas Jaeger  <aj@suse.de>

	* pthread.c (pthread_handle_sigcancel_rt): GS has been renamed to
	REG_GS.
	(pthread_handle_sigrestart_rt): Likewise.
	* signals.c (pthread_sighandler_rt): Likewise.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 5f544c75d5..5884b9b460 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -655,7 +655,7 @@ static void pthread_handle_sigrestart_nonrt(int sig, struct sigcontext ctx)
 static void pthread_handle_sigrestart_rt(int sig, struct siginfo *si,
 					 struct ucontext *uc)
 {
-  asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[GS]));
+  asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[REG_GS]));
   pthread_handle_sigrestart(sig);
 }
 #endif
@@ -704,7 +704,7 @@ static void pthread_handle_sigcancel_nonrt(int sig, struct sigcontext ctx)
 static void pthread_handle_sigcancel_rt(int sig, struct siginfo *si,
 					 struct ucontext *uc)
 {
-  asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[GS]));
+  asm volatile ("movw %w0,%%gs" : : "r" (uc->uc_mcontext.gregs[REG_GS]));
   pthread_handle_sigcancel(sig);
 }
 #endif