Wrong SHMLBA for MIPS
Andreas Jaeger
aj@suse.de
Wed Jul 16 08:33:00 GMT 2003
Daniel Jacobowitz <drow@mvista.com> writes:
> [...]
> More specifically, this.
>
> 2003-07-15 Daniel Jacobowitz <drow@mvista.com>
>
> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K.
Checked in with a small change: I removed the now useless
__getpagesize declaration.
thanks,
Andreas
> --- glibc-2.3.2/sysdeps/unix/sysv/linux/mips/bits/shm.h.orig 2003-07-15 16:39:31.000000000 -0400
> +++ glibc-2.3.2/sysdeps/unix/sysv/linux/mips/bits/shm.h 2003-07-15 16:40:00.000000000 -0400
> @@ -36,7 +36,7 @@
> #define SHM_UNLOCK 12 /* unlock segment (root only) */
>
> /* Segment low boundary address multiple. */
> -#define SHMLBA (__getpagesize ())
> +#define SHMLBA 0x40000
> extern int __getpagesize (void) __THROW __attribute__ ((__const__));
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030716/00e8ab7a/attachment.sig>
More information about the Libc-alpha
mailing list