about summary refs log tree commit diff
path: root/src/sched/sched_getaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched/sched_getaffinity.c')
-rw-r--r--src/sched/sched_getaffinity.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sched/sched_getaffinity.c b/src/sched/sched_getaffinity.c
deleted file mode 100644
index 0aa4c65a..00000000
--- a/src/sched/sched_getaffinity.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#define _GNU_SOURCE
-#include <sched.h>
-#include "syscall.h"
-
-int sched_getaffinity(pid_t tid, size_t size, cpu_set_t *set)
-{
-	long ret = __syscall(SYS_sched_getaffinity, tid, size, set);
-	if (ret > 0) ret = 0;
-	return __syscall_ret(ret);
-}