diff --git a/sys/compat/aoutm68k/aoutm68k_syscall.h b/sys/compat/aoutm68k/aoutm68k_syscall.h index 84105f191df9..e0599815c3c6 100644 --- a/sys/compat/aoutm68k/aoutm68k_syscall.h +++ b/sys/compat/aoutm68k/aoutm68k_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.50 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.51 2017/12/19 19:17:17 kamil Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #ifndef _AOUTM68K_SYS_SYSCALL_H_ @@ -273,9 +273,7 @@ #else /* 71 is excluded compat_43_sys_mmap */ #endif -/* syscall: "vadvise" ret: "int" args: "int" */ -#define AOUTM68K_SYS_vadvise 72 - + /* 72 is obsolete vadvise */ /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ #define AOUTM68K_SYS_munmap 73 diff --git a/sys/compat/aoutm68k/aoutm68k_syscallargs.h b/sys/compat/aoutm68k/aoutm68k_syscallargs.h index 6636c9ff43dd..a8a6fafef404 100644 --- a/sys/compat/aoutm68k/aoutm68k_syscallargs.h +++ b/sys/compat/aoutm68k/aoutm68k_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.48 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.49 2017/12/19 19:17:17 kamil Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ @@ -195,8 +195,6 @@ struct compat_43_sys_mmap_args; #else #endif -struct sys_ovadvise_args; - struct sys_munmap_args; struct sys_mprotect_args; @@ -823,8 +821,6 @@ int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, reg #else #endif -int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *); - int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *); diff --git a/sys/compat/aoutm68k/aoutm68k_syscalls.c b/sys/compat/aoutm68k/aoutm68k_syscalls.c index 6cf0723d33b3..3da8ab188a44 100644 --- a/sys/compat/aoutm68k/aoutm68k_syscalls.c +++ b/sys/compat/aoutm68k/aoutm68k_syscalls.c @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -158,7 +158,7 @@ const char *const aoutm68k_syscallnames[] = { #else /* 71 */ "#71 (excluded compat_43_sys_mmap)", #endif - /* 72 */ "vadvise", + /* 72 */ "#72 (obsolete vadvise)", /* 73 */ "munmap", /* 74 */ "mprotect", /* 75 */ "madvise", @@ -905,7 +905,7 @@ const char *const altaoutm68k_syscallnames[] = { #else /* 71 */ NULL, /* excluded compat_43_sys_mmap */ #endif - /* 72 */ "ovadvise", + /* 72 */ NULL, /* obsolete vadvise */ /* 73 */ NULL, /* munmap */ /* 74 */ NULL, /* mprotect */ /* 75 */ NULL, /* madvise */ diff --git a/sys/compat/aoutm68k/aoutm68k_sysent.c b/sys/compat/aoutm68k/aoutm68k_sysent.c index d0b03739ccea..d475e06bab16 100644 --- a/sys/compat/aoutm68k/aoutm68k_sysent.c +++ b/sys/compat/aoutm68k/aoutm68k_sysent.c @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $ */ +/* $NetBSD: aoutm68k_sysent.c,v 1.53 2017/12/19 19:17:17 kamil Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp + * created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp */ #include -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.53 2017/12/19 19:17:17 kamil Exp $"); #if defined(_KERNEL_OPT) #include "opt_ktrace.h" @@ -434,9 +434,8 @@ struct sysent aoutm68k_sysent[] = { }, /* 71 = filler */ #endif { - ns(struct sys_ovadvise_args), - .sy_call = (sy_call_t *)sys_ovadvise - }, /* 72 = vadvise */ + .sy_call = sys_nosys, + }, /* 72 = filler */ { ns(struct sys_munmap_args), .sy_flags = SYCALL_ARG_PTR, diff --git a/sys/compat/aoutm68k/syscalls.master b/sys/compat/aoutm68k/syscalls.master index d8c107f6dd41..4c83d29429a7 100644 --- a/sys/compat/aoutm68k/syscalls.master +++ b/sys/compat/aoutm68k/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp $ + $NetBSD: syscalls.master,v 1.40 2017/12/19 19:17:17 kamil Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -220,7 +220,7 @@ #else 71 EXCL compat_43_sys_mmap #endif -72 NOARGS { int|sys||ovadvise(int anom); } vadvise +72 OBSOL vadvise 73 NOARGS { int|sys||munmap(void *addr, size_t len); } 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ int prot); }