|
|
@ -114,8 +114,7 @@ static NtCloseFunc *NtClose; |
|
|
|
|
|
|
|
|
|
|
|
#if defined(__mips) && defined(__linux) |
|
|
|
#if defined(__mips) && defined(__linux) |
|
|
|
/* MIPS has cache coherency issues, requires explicit cache control */ |
|
|
|
/* MIPS has cache coherency issues, requires explicit cache control */ |
|
|
|
#include <asm/cachectl.h> |
|
|
|
#include <sys/cachectl.h> |
|
|
|
extern int cacheflush(char *addr, int nbytes, int cache); |
|
|
|
|
|
|
|
#define CACHEFLUSH(addr, bytes, cache) cacheflush(addr, bytes, cache) |
|
|
|
#define CACHEFLUSH(addr, bytes, cache) cacheflush(addr, bytes, cache) |
|
|
|
#else |
|
|
|
#else |
|
|
|
#define CACHEFLUSH(addr, bytes, cache) |
|
|
|
#define CACHEFLUSH(addr, bytes, cache) |
|
|
|