summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_misc.c
diff options
context:
space:
mode:
authornjoly <njoly@NetBSD.org>2008-04-04 12:38:52 +0000
committernjoly <njoly@NetBSD.org>2008-04-04 12:38:52 +0000
commitdcde97da0ea324763f5969401a62c2e6e24344ae (patch)
tree8908bf2520d92820e8a35a025f4f725ef3819626 /sys/compat/linux/common/linux_misc.c
parent229f1dede15fe970eccf1f96a8dc769b7123e10c (diff)
Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
-rw-r--r--sys/compat/linux/common/linux_misc.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c
index 6abbf6b2860..85c46171636 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.194 2008/03/21 21:54:58 ad Exp $ */
+/* $NetBSD: linux_misc.c,v 1.195 2008/04/04 12:38:53 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.194 2008/03/21 21:54:58 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.195 2008/04/04 12:38:53 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ptrace.h"
@@ -550,25 +550,6 @@ done:
}
int
-linux_sys_msync(struct lwp *l, const struct linux_sys_msync_args *uap, register_t *retval)
-{
- /* {
- syscallarg(void *) addr;
- syscallarg(int) len;
- syscallarg(int) fl;
- } */
-
- struct sys___msync13_args bma;
-
- /* flags are ignored */
- SCARG(&bma, addr) = SCARG(uap, addr);
- SCARG(&bma, len) = SCARG(uap, len);
- SCARG(&bma, flags) = SCARG(uap, fl);
-
- return sys___msync13(l, &bma, retval);
-}
-
-int
linux_sys_mprotect(struct lwp *l, const struct linux_sys_mprotect_args *uap, register_t *retval)
{
/* {