mirror of git://sourceware.org/git/glibc.git
Since x86-64 and x32 use the same set of sched_XXX system call interface: [hjl@gnu-6 linux-stable]$ grep sched_ arch/x86/entry/syscalls/syscall_64.tbl 24 common sched_yield sys_sched_yield 142 common sched_setparam sys_sched_setparam 143 common sched_getparam sys_sched_getparam 144 common sched_setscheduler sys_sched_setscheduler 145 common sched_getscheduler sys_sched_getscheduler 146 common sched_get_priority_max sys_sched_get_priority_max 147 common sched_get_priority_min sys_sched_get_priority_min 148 common sched_rr_get_interval sys_sched_rr_get_interval 203 common sched_setaffinity sys_sched_setaffinity 204 common sched_getaffinity sys_sched_getaffinity 314 common sched_setattr sys_sched_setattr 315 common sched_getattr sys_sched_getattr [hjl@gnu-6 linux-stable]$ __cpu_mask should be unsigned long long, instead of unsigned long, for x32. This patch adds __CPU_MASK_TYPE so that each architecture can define the proper type for __cpu_mask. [BZ #19313] * bits/typesizes.h (__CPU_MASK_TYPE): New. * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE): * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace unsigned long int with __CPU_MASK_TYPE. |
||
|---|---|---|
| .. | ||
| byteswap-16.h | ||
| byteswap.h | ||
| confname.h | ||
| dirent.h | ||
| dlfcn.h | ||
| elfclass.h | ||
| endian.h | ||
| environments.h | ||
| errno.h | ||
| fcntl.h | ||
| fenv.h | ||
| fenvinline.h | ||
| huge_val.h | ||
| huge_valf.h | ||
| huge_vall.h | ||
| in.h | ||
| inf.h | ||
| ioctl-types.h | ||
| ioctls.h | ||
| ipc.h | ||
| ipctypes.h | ||
| libm-simd-decl-stubs.h | ||
| link.h | ||
| local_lim.h | ||
| math-vector.h | ||
| mathdef.h | ||
| mathinline.h | ||
| mman-linux.h | ||
| mman.h | ||
| mqueue.h | ||
| msq.h | ||
| nan.h | ||
| netdb.h | ||
| param.h | ||
| poll.h | ||
| posix_opt.h | ||
| pthreadtypes.h | ||
| resource.h | ||
| sched.h | ||
| select.h | ||
| sem.h | ||
| setjmp.h | ||
| shm.h | ||
| sigaction.h | ||
| sigcontext.h | ||
| siginfo.h | ||
| signum.h | ||
| sigset.h | ||
| sigstack.h | ||
| sigthread.h | ||
| sockaddr.h | ||
| socket.h | ||
| stat.h | ||
| statfs.h | ||
| statvfs.h | ||
| stdlib-bsearch.h | ||
| string.h | ||
| stropts.h | ||
| sys_errlist.h | ||
| syslog-path.h | ||
| termios.h | ||
| time.h | ||
| types.h | ||
| typesizes.h | ||
| uio.h | ||
| ustat.h | ||
| utmp.h | ||
| utsname.h | ||
| waitflags.h | ||
| waitstatus.h | ||
| wchar.h | ||
| wordsize.h | ||
| xtitypes.h | ||