LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File glibc-cpusetsize.diff of Package glibc.i686 (Project Base:build)

Index: glibc-2.15.90/bits/sched.h
===================================================================
--- glibc-2.15.90.orig/bits/sched.h
+++ glibc-2.15.90/bits/sched.h
@@ -53,7 +53,7 @@ struct __sched_param
 #if defined _SCHED_H && !defined __cpu_set_t_defined
 # define __cpu_set_t_defined
 /* Size definition for CPU sets.  */
-# define __CPU_SETSIZE	1024
+# define __CPU_SETSIZE	4096
 # define __NCPUBITS	(8 * sizeof (__cpu_mask))
 
 /* Type for array elements in 'cpu_set_t'.  */
Index: glibc-2.15.90/sysdeps/unix/sysv/linux/bits/sched.h
===================================================================
--- glibc-2.15.90.orig/sysdeps/unix/sysv/linux/bits/sched.h
+++ glibc-2.15.90/sysdeps/unix/sysv/linux/bits/sched.h
@@ -112,7 +112,7 @@ struct __sched_param
 #if defined _SCHED_H && !defined __cpu_set_t_defined
 # define __cpu_set_t_defined
 /* Size definition for CPU sets.  */
-# define __CPU_SETSIZE	1024
+# define __CPU_SETSIZE	4096
 # define __NCPUBITS	(8 * sizeof (__cpu_mask))
 
 /* Type for array elements in 'cpu_set_t'.  */