local-shmlba
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 16 Jan 2017 17:43:37 +0000 (17:43 +0000)
committerAurelien Jarno <aurel32@debian.org>
Mon, 16 Jan 2017 17:43:37 +0000 (17:43 +0000)
===================================================================

Gbp-Pq: Topic hppa
Gbp-Pq: Name local-shmlba.diff

sysdeps/unix/sysv/linux/hppa/bits/shm.h

index 60bb625eba789855d9e4e95a9f32fe99ad135b35..f0f81ef48c50412b443a3e9afba2bf31f612f64d 100644 (file)
@@ -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;