Skip to contentSkip to conversation

Add SHMLBA define to shm.h (HPPA).

PATCH In review Carlos O'Donell 2 participants 3 messages Dec 8, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add SHMLBA define to shm.h (HPPA).

libc-alpha,

Kernel headers and glibc headers are mildly out of sync on HPPA, I'll keep my eye out for further inconsistencies. This particular issue was found while building the latest debian X packages. Odd that it didn't turn up before.

c.
---

2002-12-07 Carlos O'Donell <[email protected]>

* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA define.

sysdeps/unix/sysv/linux/hppa/bits/shm.h +2 -0
@@ -36,6 +36,8 @@
 #define SHM_LOCK	11		/* lock segment (root only) */
 #define SHM_UNLOCK	12		/* unlock segment (root only) */
 
+/* Segment low boundary address multiple */
+#define SHMLBA 0x00400000   /* attach addr needs to be 4 Mb aligned */
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
#1 lore raw
Quoted 3 lines · Carlos O'Donell

2002-12-07 Carlos O'Donell <[email protected]>

* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA define.

I've added the patch. Thanks,

Signature · 3 lines
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
#2 lore raw
In reply to Carlos O'Donell
Quoted 3 lines · Carlos O'Donell

2002-12-07 Carlos O'Donell <[email protected]>

* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA define.

I've added the patch. Thanks,

Signature · 3 lines
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------