about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-11-13 22:19:33 +0000
committerJakub Jelinek <jakub@redhat.com>2008-11-13 22:19:33 +0000
commit033b8b2d4de5cd8abe4278cd2b30c50d7a78e886 (patch)
tree8a50d72fd135568a2c28a3c1d91798995dd822fb /sysdeps/unix/sysv/linux
parent03c8e287448a12c8c4c6db3570f5b7e3930d488d (diff)
downloadglibc-033b8b2d4de5cd8abe4278cd2b30c50d7a78e886.tar.gz
glibc-033b8b2d4de5cd8abe4278cd2b30c50d7a78e886.tar.xz
glibc-033b8b2d4de5cd8abe4278cd2b30c50d7a78e886.zip
Updated to fedora-glibc-20081113T2206 cvs/fedora-glibc-2_9-1
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 38ba305006..8f694d70c4 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/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)