diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-12 22:52:32 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-12 22:52:32 +0000 |
commit | d8761c147db463209939f7c6a11da3a6fb1feecf (patch) | |
tree | 04e6e5178ca9eb109045d4528cb782033a8754a7 /include | |
parent | ed57cd6c59f80fa1061aa312d7f4fc31da142f30 (diff) |
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/<arch>/bits/syscalls.h should get an update
from glibc.
Diffstat (limited to 'include')
-rw-r--r-- | include/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |