Просмотр исходного кода

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 лет назад
Родитель
Сommit
8a040b9b47
1 измененных файлов с 3 добавлено и 0 удалено
  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
 __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 */
 /* Selective file content synch'ing */
 extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
 extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
 			    unsigned int __flags);
 			    unsigned int __flags);