* 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>.
This commit is contained in:
Jakub Jelinek 2008-04-08 06:36:47 +00:00
parent f6d749f035
commit d24be489a1
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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.
@ -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) \
({ \