Skip to content

Commit

Permalink
[BZ #6020]
Browse files Browse the repository at this point in the history
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h 
(lll_futex_wake_unlock): Add private argument to the pre-v9 macro. 
Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>.
2008-04-08  Jakub Jelinek  <jakub@redhat.com>

	[BZ #6020]
	* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
	(lll_futex_wake_unlock): Add private argument to the pre-v9 macro.
	Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>.
  • Loading branch information
Jakub Jelinek committed Apr 8, 2008
1 parent f6d749f commit d24be48
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2008-04-08 Jakub Jelinek <jakub@redhat.com>

[BZ #6020]
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
(lll_futex_wake_unlock): Add private argument to the pre-v9 macro.
Patch by Sunil Amitkumar Janki <devel.sjanki@gmail.com>.

2008-03-27 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if
Expand Down
4 changes: 2 additions & 2 deletions nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
/* Copyright (C) 2003, 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
Expand Down Expand Up @@ -120,7 +120,7 @@
/* Returns non-zero if error happened, zero if success. */
#ifdef __sparc32_atomic_do_lock
/* Avoid FUTEX_WAKE_OP if supporting pre-v9 CPUs. */
# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2) 1
# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) 1
#else
# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) \
({ \
Expand Down

0 comments on commit d24be48

Please sign in to comment.