about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-02-17 08:07:21 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-17 08:07:21 +0000
commit49bfc1fe3d7a2d4ad5ef670590441f202bf4f51c (patch)
treef55426445cf8010688e2b79e2864559416d54570 /sysdeps/unix/sysv/linux/sh
parent56e987ac483651060f64cef5186cad8d808b614c (diff)
downloadglibc-49bfc1fe3d7a2d4ad5ef670590441f202bf4f51c.tar.gz
glibc-49bfc1fe3d7a2d4ad5ef670590441f202bf4f51c.tar.xz
glibc-49bfc1fe3d7a2d4ad5ef670590441f202bf4f51c.zip
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
	(lll_robust_mutex_unlock): Avoid unnecessary wakeups.
	* sysdeps/unix/sysv/linux/i386/lowlevellock.h
	(lll_robust_mutex_unlock): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh')
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/mman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/bits/mman.h b/sysdeps/unix/sysv/linux/sh/bits/mman.h
index ff74c75e14..3c10334a4b 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/mman.h
@@ -89,8 +89,8 @@
 # define MADV_WILLNEED	 3	/* Will need these pages.  */
 # define MADV_DONTNEED	 4	/* Don't need these pages.  */
 # define MADV_REMOVE	 5	/* Remove these pages and resources.  */
-# define MADV_DONTFORK	 0x30	/* Do not inherit across fork.  */
-# define MADV_DOFORK	 0x31	/* Do inherit across fork.  */
+# define MADV_DONTFORK	 10	/* Do not inherit across fork.  */
+# define MADV_DOFORK	 11	/* Do inherit across fork.  */
 #endif
 
 /* The POSIX people had to invent similar names for the same things.  */