summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sched_setaffinity.c')
-rw-r--r--libc/sysdeps/linux/common/sched_setaffinity.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/sched_setaffinity.c b/libc/sysdeps/linux/common/sched_setaffinity.c
index aec032eab..6705d0c68 100644
--- a/libc/sysdeps/linux/common/sched_setaffinity.c
+++ b/libc/sysdeps/linux/common/sched_setaffinity.c
@@ -22,9 +22,6 @@
#include <sched.h>
#include <sys/types.h>
#include <sys/syscall.h>
-
-#ifdef INTERNAL_SYSCALL /* remove this when all archs has this #defined */
-
#include <string.h>
#include <unistd.h>
#include <sys/param.h>
@@ -77,9 +74,6 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)
#else
#define ___HAVE_NO_sched_setaffinity
#endif
-#else
-#define ___HAVE_NO_sched_setaffinity
-#endif
#if defined ___HAVE_NO_sched_setaffinity && defined __UCLIBC_HAS_STUBS__
int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset)