summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/sys/cachectl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/kvx/sys/cachectl.h')
-rw-r--r--libc/sysdeps/linux/kvx/sys/cachectl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/kvx/sys/cachectl.h b/libc/sysdeps/linux/kvx/sys/cachectl.h
new file mode 100644
index 000000000..707de263e
--- /dev/null
+++ b/libc/sysdeps/linux/kvx/sys/cachectl.h
@@ -0,0 +1,21 @@
+/*
+ * This file is subject to the terms and conditions of the LGPL V2.1
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2020 Kalray Inc.
+ */
+
+#ifndef _SYS_CACHECTL_H
+#define _SYS_CACHECTL_H 1
+
+#include <asm/cachectl.h>
+
+__BEGIN_DECLS
+
+extern int cachectl(void *addr, size_t len, unsigned long cache,
+ unsigned long flags);
+
+__END_DECLS
+
+#endif