summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/ioperm.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-26 21:44:40 -0400
committerMike Frysinger <vapier@gentoo.org>2012-03-26 21:54:54 -0400
commitf8ad95479407205e3c9dd0cb0d1829bdadf121bb (patch)
treee7bb287bd34164b242582cf40fc7fb19593a7d28 /libc/sysdeps/linux/arm/ioperm.c
parentdb45ed982f8bfe8e84442cc8866b7f74bc6519a7 (diff)
Revert "Fix redefinition of ioperm and iopl in stubs.c and arm/{ioperm.c,iopl.c}"
This reverts commit 3bcd031f97d61a8f732d865a0f4248aed2d191ab. The arm code is supposed to provide its own userspace ioperm/iopl functions. They've never had system calls for these funcs. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/arm/ioperm.c')
-rw-r--r--libc/sysdeps/linux/arm/ioperm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/arm/ioperm.c b/libc/sysdeps/linux/arm/ioperm.c
index 0e283cbac..a7f6c3067 100644
--- a/libc/sysdeps/linux/arm/ioperm.c
+++ b/libc/sysdeps/linux/arm/ioperm.c
@@ -50,8 +50,6 @@
#include <linux/version.h>
-#ifdef __NR_ioperm
-
#define PATH_ARM_SYSTYPE "/etc/arm_systype"
#define PATH_CPUINFO "/proc/cpuinfo"
@@ -246,5 +244,3 @@ inl(unsigned long int port)
{
return *((__volatile__ unsigned long *)(IO_ADDR (port)));
}
-
-#endif