summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authormanu <manu@NetBSD.org>2001-09-30 20:44:49 +0000
committermanu <manu@NetBSD.org>2001-09-30 20:44:49 +0000
commita9c8120ff3c8a8e9e8216476223ebad5ce1077bb (patch)
treeb648680b71261768c6b850c86418e7d5b068f3b3 /sys/compat/linux
parent3bceb7c55c51d2e664f89b7527e9a4d4b98590b5 (diff)
Fixes my last commit: only mips really need fcntl64 to work now. i386 and
powerpc could use it later if needed. m68k and alpha should never need it.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/i386/linux_syscall.h4
-rw-r--r--sys/compat/linux/arch/i386/linux_syscallargs.h4
-rw-r--r--sys/compat/linux/arch/i386/linux_syscalls.c4
-rw-r--r--sys/compat/linux/arch/i386/linux_sysent.c4
-rw-r--r--sys/compat/linux/arch/i386/syscalls.master4
-rw-r--r--sys/compat/linux/common/linux_file64.c6
6 files changed, 13 insertions, 13 deletions
diff --git a/sys/compat/linux/arch/i386/linux_syscall.h b/sys/compat/linux/arch/i386/linux_syscall.h
index c3e7098ccaf..52f03126db2 100644
--- a/sys/compat/linux/arch/i386/linux_syscall.h
+++ b/sys/compat/linux/arch/i386/linux_syscall.h
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.38 2001/05/30 11:37:26 mrg Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.39 2001/09/30 20:44:49 manu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.57 2001/05/13 20:54:43 manu Exp
+ * created from NetBSD: syscalls.master,v 1.59 2001/09/30 18:57:43 martin Exp
*/
/* syscall: "syscall" ret: "int" args: */
diff --git a/sys/compat/linux/arch/i386/linux_syscallargs.h b/sys/compat/linux/arch/i386/linux_syscallargs.h
index 51f94795f93..27a5f757bec 100644
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.38 2001/05/30 11:37:26 mrg Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.39 2001/09/30 20:44:49 manu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.57 2001/05/13 20:54:43 manu Exp
+ * created from NetBSD: syscalls.master,v 1.59 2001/09/30 18:57:43 martin Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
diff --git a/sys/compat/linux/arch/i386/linux_syscalls.c b/sys/compat/linux/arch/i386/linux_syscalls.c
index 8e6ab171d85..3a1d4049b3b 100644
--- a/sys/compat/linux/arch/i386/linux_syscalls.c
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.39 2001/05/30 11:37:26 mrg Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.40 2001/09/30 20:44:49 manu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.57 2001/05/13 20:54:43 manu Exp
+ * created from NetBSD: syscalls.master,v 1.59 2001/09/30 18:57:43 martin Exp
*/
#if defined(_KERNEL_OPT)
diff --git a/sys/compat/linux/arch/i386/linux_sysent.c b/sys/compat/linux/arch/i386/linux_sysent.c
index 9f7accd36b6..197566052da 100644
--- a/sys/compat/linux/arch/i386/linux_sysent.c
+++ b/sys/compat/linux/arch/i386/linux_sysent.c
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.38 2001/05/30 11:37:26 mrg Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.39 2001/09/30 20:44:50 manu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.57 2001/05/13 20:54:43 manu Exp
+ * created from NetBSD: syscalls.master,v 1.59 2001/09/30 18:57:43 martin Exp
*/
#if defined(_KERNEL_OPT)
diff --git a/sys/compat/linux/arch/i386/syscalls.master b/sys/compat/linux/arch/i386/syscalls.master
index dae9c2b776c..cac97c6cefc 100644
--- a/sys/compat/linux/arch/i386/syscalls.master
+++ b/sys/compat/linux/arch/i386/syscalls.master
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.59 2001/09/30 18:57:43 martin Exp $
+ $NetBSD: syscalls.master,v 1.60 2001/09/30 20:44:50 manu Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -358,4 +358,4 @@
218 UNIMPL mincore
219 UNIMPL madvise
220 UNIMPL getdents64
-221 STD { int linux_sys_fcntl64(int fd, int cmd, long arg); }
+221 UNIMPL fcntl64
diff --git a/sys/compat/linux/common/linux_file64.c b/sys/compat/linux/common/linux_file64.c
index 6e40e69c53e..a263d6e1e51 100644
--- a/sys/compat/linux/common/linux_file64.c
+++ b/sys/compat/linux/common/linux_file64.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_file64.c,v 1.3 2001/09/30 16:04:04 manu Exp $ */
+/* $NetBSD: linux_file64.c,v 1.4 2001/09/30 20:44:49 manu Exp $ */
/*-
* Copyright (c) 1995, 1998, 2000 The NetBSD Foundation, Inc.
@@ -221,7 +221,7 @@ linux_sys_truncate64(p, v, retval)
return sys_truncate(p, uap, retval);
}
-#ifndef __alpha__
+#ifdef __mips__ /* i386 and powerpc could use it too */
int
linux_sys_fcntl64(p, v, retval)
struct proc *p;
@@ -259,4 +259,4 @@ linux_sys_fcntl64(p, v, retval)
return error;
}
-#endif /* __alpha__ */
+#endif /* __mips__ */