aboutsummaryrefslogtreecommitdiff
path: root/nptl/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/init.c b/nptl/init.c
index 7704e9f507..92afd09546 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -33,8 +33,13 @@
#include <shlib-compat.h>
-/* XXX For the time being... */
-#define __NR_set_tid_address 258
+/* XXX For the time being... Once we can rely on the kernel headers
+ having the definition remove these lines. */
+#if defined __s390__
+# define __NR_set_tid_address 252
+#else
+# define __NR_set_tid_address 258
+#endif
/* Default stack size. */