Fix SHMLBA on sparc.
authorDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2012 02:28:51 +0000 (19:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2012 02:28:51 +0000 (19:28 -0700)
commit374976dd138bd4d74608d5658c84c0e257716d0b
treefe923ac3e59dcc6ef45922b00a894beaa52c3481
parentedc218041ef05fde20a7f7e6b24033a72deedce1
Fix SHMLBA on sparc.

[BZ #6471]
* sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
properly.
* sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
* sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
sysdep_routines when subdir is sysvipc.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
__getshmlba helper.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/shmat.c
sysdeps/unix/sysv/linux/sparc/Makefile
sysdeps/unix/sysv/linux/sparc/bits/shm.h
sysdeps/unix/sysv/linux/sparc/getshmlba.c [new file with mode: 0644]