]> sourceware.org Git - glibc.git/commitdiff
Fix NPTL build error when missing __NR_set_robust_list.
authorRoland McGrath <roland@hack.frob.com>
Fri, 17 Oct 2014 18:30:15 +0000 (11:30 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 17 Oct 2014 18:30:15 +0000 (11:30 -0700)
ChangeLog
nptl/nptl-init.c

index 3a5cddd895946cc18667cde2bbf8c71999ee0482..502bd421367a9bad7d7ee12c769a5331c5a3e2a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-17  Roland McGrath  <roland@hack.frob.com>
+
+       * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
+       [__NR_set_robust_list].
+
 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * string/strcoll_l.c (get_next_seq): Fix up formatting.
index 9f7b20a90e8e05c6d9f86ff26d63ad49daa06343..44223a7a4140857fa88eb4d49ab47446c317fb1f 100644 (file)
@@ -162,9 +162,11 @@ static
 void
 __nptl_set_robust (struct pthread *self)
 {
+#ifdef __NR_set_robust_list
   INTERNAL_SYSCALL_DECL (err);
   INTERNAL_SYSCALL (set_robust_list, err, 2, &self->robust_head,
                    sizeof (struct robust_list_head));
+#endif
 }
 
 
This page took 0.110302 seconds and 5 git commands to generate.