From 23eaf72eb88953da4452c30d4974113b9527952c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 27 Jan 2006 14:57:54 +0000 Subject: s|sys/perm.h|sys/io.h|, thx vapier --- libc/sysdeps/linux/common/ioperm.c | 2 +- libc/sysdeps/linux/common/iopl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c index d4795f526..b448d2a0d 100644 --- a/libc/sysdeps/linux/common/ioperm.c +++ b/libc/sysdeps/linux/common/ioperm.c @@ -9,6 +9,6 @@ #include "syscalls.h" #if defined __ARCH_HAS_MMU__ && defined __NR_ioperm -#include +#include _syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on); #endif diff --git a/libc/sysdeps/linux/common/iopl.c b/libc/sysdeps/linux/common/iopl.c index 4f21b55f5..36126d832 100644 --- a/libc/sysdeps/linux/common/iopl.c +++ b/libc/sysdeps/linux/common/iopl.c @@ -10,6 +10,6 @@ #include "syscalls.h" /* Tuns out the m68k unistd.h kernel header is broken */ #if defined __ARCH_HAS_MMU__ && defined __NR_iopl && ( !defined(__mc68000__)) -#include +#include _syscall1(int, iopl, int, level); #endif -- cgit v1.2.3