summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorrafal <rafal@NetBSD.org>2002-02-17 23:56:35 +0000
committerrafal <rafal@NetBSD.org>2002-02-17 23:56:35 +0000
commitefdd3f2dd7f13455b5e9d66d9ccfdfc82068545b (patch)
tree09712b260351ef0192db5dcf16c15b231af38bae /sys/compat/linux
parentdfcb814799adca178efe9c27f8c5e8a2546cbe07 (diff)
There is no linux_sys_ugetrlimit on mips, so don't try building it (XXX: adds
icky ifdefs)
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_misc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c
index b3939abb5cd..45ca749d5dc 100644
--- a/sys/compat/linux/common/linux_misc.c
+++ b/sys/compat/linux/common/linux_misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc.c,v 1.97 2002/02/15 16:48:02 christos Exp $ */
+/* $NetBSD: linux_misc.c,v 1.98 2002/02/17 23:56:35 rafal Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.97 2002/02/15 16:48:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.98 2002/02/17 23:56:35 rafal Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1539,6 +1539,8 @@ linux_sys_setrlimit(p, v, retval)
return sys_setrlimit(p, v, retval);
}
+#ifndef __mips__
+/* XXX: this doesn't look 100% common, at least mips doesn't have it */
int
linux_sys_ugetrlimit(p, v, retval)
struct proc *p;
@@ -1547,6 +1549,7 @@ linux_sys_ugetrlimit(p, v, retval)
{
return linux_sys_getrlimit(p, v, retval);
}
+#endif
/*
* This gets called for unsupported syscalls. The difference to sys_nosys()