[Glibc-bsd-commits] r2806 - trunk/glibc-ports/kfreebsd/x86_64

Petr Salinger ps-guest at alioth.debian.org
Mon Oct 19 12:21:14 UTC 2009


Author: ps-guest
Date: 2009-10-19 12:21:14 +0000 (Mon, 19 Oct 2009)
New Revision: 2806

Modified:
   trunk/glibc-ports/kfreebsd/x86_64/ioperm.c
Log:
one copy is enough


Modified: trunk/glibc-ports/kfreebsd/x86_64/ioperm.c
===================================================================
--- trunk/glibc-ports/kfreebsd/x86_64/ioperm.c	2009-10-19 12:13:20 UTC (rev 2805)
+++ trunk/glibc-ports/kfreebsd/x86_64/ioperm.c	2009-10-19 12:21:14 UTC (rev 2806)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2009 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
@@ -30,35 +30,3 @@
 
   return __sysarch (I386_SET_IOPERM, &args);
 }
-/* Copyright (C) 2002 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 <sys/perm.h>
-#include <sysarch.h>
-
-int
-ioperm (unsigned long int from, unsigned long int num, int turn_on)
-{
-  struct i386_ioperm_args args;
-
-  args.start = from;
-  args.length = num;
-  args.enable = turn_on;
-
-  return __sysarch (I386_SET_IOPERM, &args);
-}




More information about the Glibc-bsd-commits mailing list