aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/s390
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-23 22:33:32 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-23 22:33:32 +0000
commited5294d508443d0db343501d95c917193c4ea1f3 (patch)
treee1e3c0fb0fa1a5159aebe9dc95edc9dc935c84d0 /sysdeps/unix/sysv/linux/s390
parent05a2c550c35c1479a8f025e572b1cdbfc64e4e5c (diff)
downloadglibc-ed5294d508443d0db343501d95c917193c4ea1f3.tar
glibc-ed5294d508443d0db343501d95c917193c4ea1f3.tar.gz
glibc-ed5294d508443d0db343501d95c917193c4ea1f3.tar.bz2
glibc-ed5294d508443d0db343501d95c917193c4ea1f3.zip
Update.
* sysvipc/sys/shm.h: Remove SHMLBA definition. * sysdeps/generic/bits/shm.h: Define SHMLBA here. * sysdeps/gnu/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20 since this is what the kernel says.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
-rw-r--r--sysdeps/unix/sysv/linux/s390/bits/shm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/bits/shm.h b/sysdeps/unix/sysv/linux/s390/bits/shm.h
index 38e0e92add..44e0adcfa8 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/shm.h
@@ -36,6 +36,10 @@
#define SHM_LOCK 11 /* lock segment (root only) */
#define SHM_UNLOCK 12 /* unlock segment (root only) */
+/* Segment low boundary address multiple. */
+#define SHMLBA (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
/* Type to count number of attaches. */
typedef unsigned long int shmatt_t;