From d8761c147db463209939f7c6a11da3a6fb1feecf Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Mon, 12 Feb 2007 22:52:32 +0000 Subject: Impl. linux syscalls sched_getaffinity/sched_setaffinity but protect its use by #ifdef INTERNAL_SYSCALL since not all arch's has INTERNAL_SYSCALL. All arch's not having INTERNAL_SYSCALL in libc/sysdeps/linux//bits/syscalls.h should get an update from glibc. --- include/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sched.h b/include/sched.h index b19569eb5..7cfdbf1f9 100644 --- a/include/sched.h +++ b/include/sched.h @@ -63,7 +63,7 @@ extern int sched_get_priority_min (int __algorithm) __THROW; extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW; -#if 0 /*def __USE_GNU*/ +#ifdef __USE_GNU /* Access macros for `cpu_set'. */ #define CPU_SETSIZE __CPU_SETSIZE #define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp) -- cgit v1.2.3