aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-07-16 07:39:07 +0000
committerAndreas Jaeger <aj@suse.de>2003-07-16 07:39:07 +0000
commitc2fabc3ac00bd12544002597c93ed32e714e38e7 (patch)
tree8e652e192e0b7b1b18609c7fb482a26a784468f4
parenta6fe2ab3cf44e8fb87cf517ed74e769a04290bc9 (diff)
downloadglibc-c2fabc3ac00bd12544002597c93ed32e714e38e7.tar
glibc-c2fabc3ac00bd12544002597c93ed32e714e38e7.tar.gz
glibc-c2fabc3ac00bd12544002597c93ed32e714e38e7.tar.bz2
glibc-c2fabc3ac00bd12544002597c93ed32e714e38e7.zip
2003-07-16 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K, remove unneeded declaration of __getpagesize.
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/shm.h5
1 files 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 a512afeddf..b3083346dd 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. */