summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/metag/metag.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/metag/metag.c')
-rw-r--r--libc/sysdeps/linux/metag/metag.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/metag/metag.c b/libc/sysdeps/linux/metag/metag.c
new file mode 100644
index 000000000..a92f2149c
--- /dev/null
+++ b/libc/sysdeps/linux/metag/metag.c
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2013 Imagination Technologies Ltd.
+ *
+ * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
+ */
+
+#include <errno.h>
+#include <sys/syscall.h>
+
+_syscall2(int,metag_setglobalbit,char *,addr,int,mask)