glibc/bits
H.J. Lu 7635a88d32 Add __CPU_MASK_TYPE for __cpu_mask
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.
2015-12-01 10:25:44 -08:00
..
byteswap-16.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
byteswap.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
confname.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dirent.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dlfcn.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
elfclass.h
endian.h
environments.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fcntl.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fenv.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fenvinline.h
huge_val.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
huge_valf.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
huge_vall.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
in.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inf.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctls.h
ipc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ipctypes.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libm-simd-decl-stubs.h Vector sincos for x86_64 and tests. 2015-06-18 17:55:55 +03:00
link.h
local_lim.h
math-vector.h This patch adds infrastructure for addition of SIMD 2015-05-14 18:07:06 +03:00
mathdef.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mathinline.h
mman-linux.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mman.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nan.h
netdb.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix_opt.h
pthreadtypes.h
resource.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
select.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setjmp.h
shm.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
siginfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signum.h Add SIGWINCH to generic <bits/signum.h>. 2015-07-23 16:44:47 -07:00
sigset.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigthread.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sockaddr.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
socket.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
stdlib-bsearch.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
string.h Define _STRING_ARCH_unaligned unconditionally 2014-04-09 15:05:36 -05:00
stropts.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syslog-path.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
termios.h Fix visibility of EXTPROC macro 2015-03-22 17:29:14 +01:00
time.h Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
types.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
typesizes.h Add __CPU_MASK_TYPE for __cpu_mask 2015-12-01 10:25:44 -08:00
uio.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ustat.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
utmp.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
waitstatus.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wchar.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize.h
xtitypes.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00