]> git.ipfire.org Git - thirdparty/glibc.git/commit
alpha: Do not redefine __NR_shmat or __NR_osf_shmat
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 1 Apr 2019 08:54:00 +0000 (15:54 +0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 1 Apr 2019 08:54:00 +0000 (15:54 +0700)
commitd5ecee822e72a2fd156338ab2be2f2e70a1da55a
tree955b6c394dd38e3acc97c59b158ca091725b3147
parent656dd306d49f34fb89a118624def9c1db8a9cfcb
alpha: Do not redefine __NR_shmat or __NR_osf_shmat

Fixes build using v5.1-rc1 headers.

The kernel has cleaned up how these are defined.  Previous behavior
was to define __NR_osf_shmat as 209 and not define __NR_shmat.
Current behavior is to define __NR_shmat as 209 and then define
__NR_osf_shmat as __NR_shmat.

* sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
Do not redefine.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
Do not redefine.
ChangeLog
sysdeps/unix/sysv/linux/alpha/kernel-features.h
sysdeps/unix/sysv/linux/alpha/sysdep.h