diff --git a/libc/include/sched.h b/libc/include/sched.h index 68115bb9c..e43b6ccaa 100644 --- a/libc/include/sched.h +++ b/libc/include/sched.h @@ -59,10 +59,10 @@ extern int unshare(int); extern int sched_getcpu(void); extern int setns(int, int); -#ifdef __LP32__ -#define CPU_SETSIZE 32 -#else +#ifdef __LP64__ #define CPU_SETSIZE 1024 +#else +#define CPU_SETSIZE 32 #endif #define __CPU_BITTYPE unsigned long int /* mandated by the kernel */