mirror of git://sourceware.org/git/glibc.git
Fix NPTL build error when missing __NR_set_robust_list.
This commit is contained in:
parent
33cc770b98
commit
b0643088bc
|
@ -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>
|
2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* string/strcoll_l.c (get_next_seq): Fix up formatting.
|
* string/strcoll_l.c (get_next_seq): Fix up formatting.
|
||||||
|
|
|
@ -162,9 +162,11 @@ static
|
||||||
void
|
void
|
||||||
__nptl_set_robust (struct pthread *self)
|
__nptl_set_robust (struct pthread *self)
|
||||||
{
|
{
|
||||||
|
#ifdef __NR_set_robust_list
|
||||||
INTERNAL_SYSCALL_DECL (err);
|
INTERNAL_SYSCALL_DECL (err);
|
||||||
INTERNAL_SYSCALL (set_robust_list, err, 2, &self->robust_head,
|
INTERNAL_SYSCALL (set_robust_list, err, 2, &self->robust_head,
|
||||||
sizeof (struct robust_list_head));
|
sizeof (struct robust_list_head));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue