diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-27 15:18:17 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-27 15:18:17 +0000 |
commit | 6167a20f664e6bf46ca4fce4b2b608dd1249000f (patch) | |
tree | 6b27da821b0091d5916f3145ed4c35ddeba0c351 /libc/sysdeps/linux/common/iopl.c | |
parent | 23eaf72eb88953da4452c30d4974113b9527952c (diff) |
Add back explicit prototype, archs miss sys/io.h, remove m68k exclusion
Diffstat (limited to 'libc/sysdeps/linux/common/iopl.c')
-rw-r--r-- | libc/sysdeps/linux/common/iopl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/iopl.c b/libc/sysdeps/linux/common/iopl.c index 36126d832..90069c08e 100644 --- a/libc/sysdeps/linux/common/iopl.c +++ b/libc/sysdeps/linux/common/iopl.c @@ -8,8 +8,8 @@ */ #include "syscalls.h" -/* Tuns out the m68k unistd.h kernel header is broken */ -#if defined __ARCH_HAS_MMU__ && defined __NR_iopl && ( !defined(__mc68000__)) -#include <sys/io.h> +#if defined __ARCH_HAS_MMU__ && defined __NR_iopl +/* psm: can't #include <sys/io.h>, some archs miss it */ +extern int iopl(int __level) __THROW; _syscall1(int, iopl, int, level); #endif |