diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-17 11:30:15 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-17 11:30:15 -0700 |
commit | b0643088bc7387e04cf53dcf7331d02f7fa62c72 (patch) | |
tree | d6a6108097ce93ec876b8d3ceb7f51876fb92550 /nptl | |
parent | 33cc770b986b5a913576cf264e6dff3b0f6aea95 (diff) | |
download | glibc-b0643088bc7387e04cf53dcf7331d02f7fa62c72.tar.gz glibc-b0643088bc7387e04cf53dcf7331d02f7fa62c72.tar.xz glibc-b0643088bc7387e04cf53dcf7331d02f7fa62c72.zip |
Fix NPTL build error when missing __NR_set_robust_list.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/nptl-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c index 9f7b20a90e..44223a7a41 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 } |