From 8a040b9b47081e2a1dde565b97dd81a191b41c01 Mon Sep 17 00:00:00 2001
From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Date: Mon, 3 Nov 2008 15:48:07 +0000
Subject: Add hint for read ahead function in fcntl.h for AVR32 arch

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
---
 libc/sysdeps/linux/avr32/bits/fcntl.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'libc/sysdeps')

diff --git a/libc/sysdeps/linux/avr32/bits/fcntl.h b/libc/sysdeps/linux/avr32/bits/fcntl.h
index 6dcb61ba7..df3eae871 100644
--- a/libc/sysdeps/linux/avr32/bits/fcntl.h
+++ b/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);
-- 
cgit v1.2.3