about summary refs log tree commit diff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/sparc/sparc32/pt-machine.h2
-rw-r--r--linuxthreads/sysdeps/sparc/sparc64/pt-machine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h b/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h
index 894972d574..ea9685b59d 100644
--- a/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h
+++ b/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h
@@ -52,7 +52,7 @@ register struct _pthread_descr_struct *__thread_self __asm__("%g6");
 #define THREAD_SELF  __thread_self
 
 /* Initialize the thread-unique value.  */
-#define INIT_THREAD_SELF(descr)  (__thread_self = (descr))
+#define INIT_THREAD_SELF(descr, nr)  (__thread_self = (descr))
 
 /* Access to data in the thread descriptor is easy.  */
 #define THREAD_GETMEM(descr, member) __thread_self->member
diff --git a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
index 24c214117c..768956197d 100644
--- a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
+++ b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h
@@ -48,7 +48,7 @@ register struct _pthread_descr_struct *__thread_self __asm__("%g6");
 #define THREAD_SELF  __thread_self
 
 /* Initialize the thread-unique value.  */
-#define INIT_THREAD_SELF(descr)  (__thread_self = (descr))
+#define INIT_THREAD_SELF(descr, nr)  (__thread_self = (descr))
 
 
 /* Compare-and-swap for semaphores. */