hppa: Fix miscompilation of sched_setaffinity() [BZ #18480]
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 7 Aug 2015 15:54:19 +0000 (11:54 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 9 Aug 2015 02:56:01 +0000 (22:56 -0400)
commit04ece7d2dec91fe870c5f1a38032875915f44633
tree997d8611dc83135e6fdc6518b5697e27ec50e901
parenta601b74d31ca086de38441d316a3dee24c866305
hppa: Fix miscompilation of sched_setaffinity() [BZ #18480]

The attached change fixes the miscompilation of sched_setaffinity() on
hppa.  This is an old problem that was fixed on other architectures using
a similar approach to the attached change.  See:
https://sourceware.org/ml/libc-hacker/2004-04/msg00016.html

Build tested on trunk.  Patch has been applied to debian glibc for some time.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/hppa/syscall.c
sysdeps/unix/sysv/linux/hppa/sysdep.h