summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common
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/common
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/common')
-rw-r--r--sys/compat/linux/common/linux_file64.c6
1 files changed, 3 insertions, 3 deletions
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__ */