From fd8327ec78cf9471d6468849a4702217f2db8c0c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 15 Aug 2005 03:14:52 +0000 Subject: rip out iopl from ioperm.c so it will override the common iopl.c --- libc/sysdeps/linux/arm/ioperm.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libc/sysdeps/linux/arm/ioperm.c') 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) { -- cgit v1.2.3