This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong SHMLBA for MIPS


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]