From b0643088bc7387e04cf53dcf7331d02f7fa62c72 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Oct 2014 11:30:15 -0700 Subject: Fix NPTL build error when missing __NR_set_robust_list. --- nptl/nptl-init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nptl') diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c index 9f7b20a..44223a7 100644 --- a/nptl/nptl-init.c +++ b/nptl/nptl-init.c @@ -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 } -- cgit v1.1