[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Mon Aug 15 03:15:48 UTC 2005


Author: vapier
Date: 2005-08-14 21:15:48 -0600 (Sun, 14 Aug 2005)
New Revision: 11154

Log:
arm has its own iopl.c now so we dont need ugly #ifdef check for arm

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/iopl.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/iopl.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/iopl.c	2005-08-15 03:14:52 UTC (rev 11153)
+++ trunk/uClibc/libc/sysdeps/linux/common/iopl.c	2005-08-15 03:15:48 UTC (rev 11154)
@@ -2,22 +2,19 @@
 /*
  * iopl() for uClibc
  *
- * Copyright (C) 2000-2004 by Erik Andersen <andersen at codepoet.org>
+ * Copyright (C) 2000-2005 by Erik Andersen <andersen at codepoet.org>
  *
  * GNU Library General Public License (LGPL) version 2 or later.
  */
 
 #include "syscalls.h"
-/* For arm there is a totally different implementation */
-#if !defined(__arm__)
 /* Tuns out the m68k unistd.h kernel header is broken */
-#	if defined __ARCH_HAS_MMU__ && defined __NR_iopl && ( !defined(__mc68000__))
+#if defined __ARCH_HAS_MMU__ && defined __NR_iopl && ( !defined(__mc68000__))
 _syscall1(int, iopl, int, level);
-#	else
+#else
 int iopl(int level)
 {
 	__set_errno(ENOSYS);
 	return -1;
 }
-#	endif
-# endif
+#endif




More information about the uClibc-cvs mailing list