summaryrefslogtreecommitdiff
path: root/emu/Linux/os.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-04-02 12:47:45 +0000
committerCharles.Forsyth <devnull@localhost>2009-04-02 12:47:45 +0000
commit0b2199ffc78ecd6fbb8754fa975bebb8d5814a06 (patch)
treebca935c240a745b06df16d6c87bbe1a77a78c289 /emu/Linux/os.c
parenta3d4017d8d3be485b256b15d2344afac09112204 (diff)
20090402-1346
Diffstat (limited to 'emu/Linux/os.c')
-rw-r--r--emu/Linux/os.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/emu/Linux/os.c b/emu/Linux/os.c
index b11ec83a..3106cb90 100644
--- a/emu/Linux/os.c
+++ b/emu/Linux/os.c
@@ -525,15 +525,3 @@ stackalloc(Proc *p, void **tos)
*(Proc **)rv = p;
return rv;
}
-
-#ifdef LINUX_ARM
-#define SYS_cacheflush __ARM_NR_cacheflush
-
-int
-segflush(void *a, ulong n)
-{
- if(n)
- syscall(SYS_cacheflush, a, (char*)a+n-1, 1);
- return 0;
-}
-#endif