Move sys/cachectl.h up from mips-specific folder

It is only effective when compile with mips, although
development no longer has to check themselves

Change-Id: I7fb703170e1cc6bb2e6ea31109851a90a26eacb8
This commit is contained in:
Andrew Hsieh
2014-02-10 09:28:47 +08:00
parent f0387da709
commit 2643554fa0
2 changed files with 36 additions and 10 deletions

View File

@@ -1,10 +0,0 @@
#ifndef _SYS_CACHECTL_H
#define _SYS_CACHECTL_H 1
#ifdef __mips__
#include <asm/cachectl.h>
extern int __cachectl (void *addr, __const int nbytes, __const int op);
extern int _flush_cache (char *addr, __const int nbytes, __const int op);
#endif
#endif /* sys/cachectl.h */