summaryrefslogtreecommitdiffstats
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
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:36:50 -0700
commit6b9c6183fd8501e5239ae720d9102e0c0aa7e40b (patch)
tree155681dad9bbc21412d86db4465477e3b860780d /libc/sysdeps/linux/common/sched_setaffinity.c
parentb130cfb465ca69a786e0bff9fa7e989f70178387 (diff)
downloaduClibc-alpine-6b9c6183fd8501e5239ae720d9102e0c0aa7e40b.tar.bz2
uClibc-alpine-6b9c6183fd8501e5239ae720d9102e0c0aa7e40b.tar.xz
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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
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)