]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2006-03-27 Lior Balkohen <balkohen@gmail.com>
authorDaniel Jacobowitz <dan@codesourcery.com>
Tue, 28 Mar 2006 04:32:41 +0000 (04:32 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Tue, 28 Mar 2006 04:32:41 +0000 (04:32 +0000)
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.

ChangeLog.arm
sysdeps/unix/sysv/linux/arm/bits/fcntl.h

index 72a977ce63ba924736419ec324dc3469be6b8727..5907503cc6c35cb72bb043cfca873833247c98d4 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-27  Lior Balkohen  <balkohen@gmail.com>
+
+       * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define
+       LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
+
 2006-03-21  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/arm/eabi/socket.S: Delete.
index 3574e750fffb5d176b680016f4b503acfcbe8c67..5368515250f4fd0a64767eb67c562851de9fbc75 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995-1998, 2000, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1995-1998, 2000, 2004, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -180,6 +180,12 @@ struct flock64
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
 #endif
 
+/* Linux-specific operations for posix_fadvise.  */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE        32 /* Start writeout on range.  */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range.  */
+#endif
+
 __BEGIN_DECLS
 
 /* Provide kernel hint to read ahead.  */