summaryrefslogtreecommitdiff
path: root/emu/Linux/os.c
diff options
context:
space:
mode:
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