Browse Source

Add hint for read ahead function in fcntl.h for AVR32 arch

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt 15 years ago
parent
commit
8a040b9b47
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libc/sysdeps/linux/avr32/bits/fcntl.h

+ 3 - 0
libc/sysdeps/linux/avr32/bits/fcntl.h

@@ -190,6 +190,9 @@ struct flock64 {
 
 __BEGIN_DECLS
 
+/* Provide kernel hint to read ahead. */
+extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) __THROW;
+
 /* Selective file content synch'ing */
 extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
 			    unsigned int __flags);