1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Fix NPTL build error when missing __NR_set_robust_list.

This commit is contained in:
Roland McGrath
2014-10-17 11:30:15 -07:00
parent 33cc770b98
commit b0643088bc
2 changed files with 7 additions and 0 deletions

View 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
}