diff options
author | marcus <marcus> | 2005-01-27 18:16:08 +0000 |
---|---|---|
committer | marcus <marcus> | 2005-01-27 18:16:08 +0000 |
commit | 987c46f830a0a865b03cdf47cd86b13c2e6db024 (patch) | |
tree | c2b9c7680ebc3e0d3118c7df80124bc95b688679 /libc | |
parent | 353ef6d42378c1bfd67e744f0961557c77a5e98c (diff) |
Trying to revert the file permission flags.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/hurd-l4/sysdeps/l4/getpagesize.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/libc/hurd-l4/sysdeps/l4/getpagesize.c b/libc/hurd-l4/sysdeps/l4/getpagesize.c deleted file mode 100644 index 4f75a15..0000000 --- a/libc/hurd-l4/sysdeps/l4/getpagesize.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (C) 1991,1993,1995,1996,2002,2005 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 - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#include <errno.h> -#include <unistd.h> - -#include <l4/kip.h> - -/* Return the system page size. */ -int -__getpagesize () -{ - void *kip; - int min_page_bit; - - kip = L4_GetKernelInterface (); - min_page_bit = ffs (L4_PageSizeMask (kip)); - - return 1 << (min_page_bit - 1); -} -libc_hidden_def (__getpagesize) -weak_alias (__getpagesize, getpagesize) |