From f8ad95479407205e3c9dd0cb0d1829bdadf121bb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Mar 2012 21:44:40 -0400 Subject: 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 --- libc/sysdeps/linux/arm/iopl.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libc/sysdeps/linux/arm/iopl.c') diff --git a/libc/sysdeps/linux/arm/iopl.c b/libc/sysdeps/linux/arm/iopl.c index f3d42edb5..df953d3c8 100644 --- a/libc/sysdeps/linux/arm/iopl.c +++ b/libc/sysdeps/linux/arm/iopl.c @@ -22,8 +22,6 @@ #include -#ifdef __NR_iopl - #define MAX_PORT 0x10000 int iopl(int level) @@ -36,5 +34,3 @@ int iopl(int level) return ioperm(0, MAX_PORT, 1); return 0; } - -#endif -- cgit v1.2.3