summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setaffinity.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-05 18:30:04 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-08 21:39:35 -0400
commit6c70a940b48c98d5be4bdc13a400a763e46eb5e6 (patch)
treeaa06b7db50546881c2ed6f255c32f19b3f5882e8 /libc/sysdeps/linux/common/sched_setaffinity.c
parentb387d762361e6c109c6a60bced003e72447b0a33 (diff)
drop missing {INLINE,INTERNAL}_SYSCALL fallback logic
Ports missing INLINE_SYSCALL() support need to get fixed, so drop the cruft keeping them alive since it no longer works with the unification. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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)