summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-11-17 16:50:16 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-11-17 16:50:16 +0000
commit2cf2fc964865139a46f7e045292e014f49a090f5 (patch)
tree118697b0a9387bdc887dcb3bce795ce2218619b4 /libc/sysdeps/unix/sysv/linux/bits
parentf00efd32172498131492efbdb8fc7b60acd27656 (diff)
downloadeglibc2-2cf2fc964865139a46f7e045292e014f49a090f5.tar.gz
Merge changes between r7310 and r7325 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@7349 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/bits')
-rw-r--r--libc/sysdeps/unix/sysv/linux/bits/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/bits/sched.h b/libc/sysdeps/unix/sysv/linux/bits/sched.h
index 38ba30500..8f694d70c 100644
--- a/libc/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/libc/sysdeps/unix/sysv/linux/bits/sched.h
@@ -1,6 +1,6 @@
/* Definitions of constants and data structure for POSIX 1003.1b-1993
scheduling interface.
- Copyright (C) 1996-1999,2001-2003,2005,2006,2007
+ Copyright (C) 1996-1999,2001-2003,2005,2006,2007,2008
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -184,7 +184,7 @@ typedef struct
__dest; }))
# define __CPU_ALLOC_SIZE(count) \
- ((((count) + __NCPUBITS - 1) / __NCPUBITS) * 8)
+ ((((count) + __NCPUBITS - 1) / __NCPUBITS) * sizeof (__cpu_mask))
# define __CPU_ALLOC(count) __sched_cpualloc (count)
# define __CPU_FREE(cpuset) __sched_cpufree (cpuset)