From c2fabc3ac00bd12544002597c93ed32e714e38e7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 16 Jul 2003 07:39:07 +0000 Subject: [PATCH] 2003-07-16 Daniel Jacobowitz Andreas Jaeger * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K, remove unneeded declaration of __getpagesize. --- sysdeps/unix/sysv/linux/mips/bits/shm.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/mips/bits/shm.h b/sysdeps/unix/sysv/linux/mips/bits/shm.h index a512afe..b308334 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/shm.h +++ b/sysdeps/unix/sysv/linux/mips/bits/shm.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,2000,2001,2002 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,2000,2001,2002,2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,8 +36,7 @@ #define SHM_UNLOCK 12 /* unlock segment (root only) */ /* Segment low boundary address multiple. */ -#define SHMLBA (__getpagesize ()) -extern int __getpagesize (void) __THROW __attribute__ ((__const__)); +#define SHMLBA 0x40000 /* Type to count number of attaches. */ -- 2.7.4