summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/ioperm.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-15 03:14:52 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-15 03:14:52 +0000
commitfd8327ec78cf9471d6468849a4702217f2db8c0c (patch)
tree778dcf082ae617891bd735984cac8f5056ac5f94 /libc/sysdeps/linux/arm/ioperm.c
parent2974b2a72237fa7abcb850b3f67b8375a65fbcb2 (diff)
rip out iopl from ioperm.c so it will override the common iopl.c
Diffstat (limited to 'libc/sysdeps/linux/arm/ioperm.c')
-rw-r--r--libc/sysdeps/linux/arm/ioperm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/arm/ioperm.c b/libc/sysdeps/linux/arm/ioperm.c
index 2fba676b1..357d987f8 100644
--- a/libc/sysdeps/linux/arm/ioperm.c
+++ b/libc/sysdeps/linux/arm/ioperm.c
@@ -202,19 +202,6 @@ int ioperm (unsigned long int from, unsigned long int num, int turn_on)
}
-int iopl (unsigned int level)
-{
- if (level > 3) {
- __set_errno (EINVAL);
- return -1;
- }
- if (level) {
- return ioperm (0, MAX_PORT, 1);
- }
- return 0;
-}
-
-
void
outb(unsigned char b, unsigned long int port)
{