From: GNU Libc Maintainers Date: Sun, 28 May 2017 17:29:33 +0000 (+0000) Subject: local-shmlba X-Git-Tag: archive/raspbian/2.25-3+rpi1~1^2^2^2^2^2~159 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a481d01ac701da29aa6974f57e4a16a83a4b67ee;p=glibc.git local-shmlba =================================================================== Gbp-Pq: Topic hppa Gbp-Pq: Name local-shmlba.diff --- diff --git a/sysdeps/unix/sysv/linux/hppa/bits/shm.h b/sysdeps/unix/sysv/linux/hppa/bits/shm.h index 60bb625eb..f0f81ef48 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/shm.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/shm.h @@ -37,7 +37,7 @@ #define SHM_UNLOCK 12 /* unlock segment (root only) */ /* Segment low boundary address multiple. */ -#define SHMLBA 0x00400000 /* address needs to be 4 Mb aligned */ +#define SHMLBA (__getpagesize ()) /* Type to count number of attaches. */ typedef unsigned long int shmatt_t;