Skip to content

Commit

Permalink
Remove fallback definitions of __NR_set_robust_list.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm28 committed May 15, 2012
1 parent a953889 commit 0480739
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2012-05-15 Joseph Myers <[email protected]>

* pthreadP.h [!__NR_set_robust_list] (__NR_set_robust_list): Do
not define.

2012-05-15 H.J. Lu <[email protected]>

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock): Load
Expand Down
13 changes: 1 addition & 12 deletions nptl/pthreadP.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2002-2007, 2009, 2011 Free Software Foundation, Inc.
/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <[email protected]>, 2002.
Expand Down Expand Up @@ -582,15 +582,4 @@ extern void __wait_lookup_done (void) attribute_hidden;
# define PTHREAD_STATIC_FN_REQUIRE(name) __asm (".globl " #name);
#endif


#ifndef __NR_set_robust_list
/* XXX For the time being... Once we can rely on the kernel headers
having the definition remove these lines. */
# if defined __i386__
# define __NR_set_robust_list 311
# elif defined __x86_64__
# define __NR_set_robust_list 273
# endif
#endif

#endif /* pthreadP.h */

0 comments on commit 0480739

Please sign in to comment.