[PATCH] Add SHMLBA define to shm.h (HPPA).

Carlos O'Donell carlos@baldric.uwo.ca
Sun Dec 8 14:09:00 GMT 2002


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  <carlos@baldric.uwo.ca>

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

-------------- next part --------------
--- glibc-2.3.1/sysdeps/unix/sysv/linux/hppa/bits/shm.h	2002-12-07 19:42:52.000000000 -0500
+++ glibc-2.3.1/sysdeps/unix/sysv/linux/hppa/bits/shm.h	2002-12-07 19:33:10.000000000 -0500
@@ -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;


More information about the Libc-alpha mailing list