aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/cacheflush.patch
blob: 330e4c67aa7a80e7d31b2882f1dcf4385e69cdbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/libraries/liblmdb/mdb.c
+++ b/libraries/liblmdb/mdb.c
@@ -77,8 +77,7 @@
 
 #if defined(__mips) && defined(__linux)
 /* MIPS has cache coherency issues, requires explicit cache control */
-#include <asm/cachectl.h>
-extern int cacheflush(char *addr, int nbytes, int cache);
+#include <sys/cachectl.h>
 #define CACHEFLUSH(addr, bytes, cache)	cacheflush(addr, bytes, cache)
 #else
 #define CACHEFLUSH(addr, bytes, cache)