diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-28 13:10:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-28 13:10:29 +0000 |
commit | 5599976c977e5049bc1b3ca43010fe22607da3de (patch) | |
tree | 2305e17c01ac0e09a84af099af011694f41476a8 | |
parent | b386b42bfb309f810a8c1ed03f8f4b8f3c2c1f16 (diff) |
compat_25_sys_omsync is unused
-rw-r--r-- | sys/compat/common/compat_vm.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/compat/common/compat_vm.c b/sys/compat/common/compat_vm.c index 44d4cc96f5e..8b8c93bc732 100644 --- a/sys/compat/common/compat_vm.c +++ b/sys/compat/common/compat_vm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: compat_vm.c,v 1.4 2003/08/06 21:08:06 millert Exp $ */ +/* $OpenBSD: compat_vm.c,v 1.5 2007/11/28 13:10:28 deraadt Exp $ */ /* $NetBSD: vm_12.c,v 1.8 1997/10/20 22:05:22 thorpej Exp $ */ /* @@ -53,21 +53,3 @@ compat_25_sys_swapon(p, v, retval) SCARG(&ua, misc) = 0; /* priority */ return (sys_swapctl(p, &ua, retval)); } - -int -compat_25_sys_omsync(p, v, retval) - struct proc *p; - void *v; - register_t *retval; -{ - struct sys_msync_args ua; - struct compat_25_sys_omsync_args /* { - syscallarg(caddr_t) addr; - syscallarg(size_t) len; - } */ *uap = v; - - SCARG(&ua, addr) = SCARG(uap, addr); - SCARG(&ua, len) = SCARG(uap, len); - SCARG(&ua, flags) = MS_SYNC | MS_INVALIDATE; - return (sys_msync(p, &ua, retval)); -} |