From 035c694c670a9080358f8db2fe6c066e6cd29c32 Mon Sep 17 00:00:00 2001 From: erh Date: Sat, 18 Mar 2000 22:16:56 +0000 Subject: [PATCH] Regen. --- sys/compat/linux/arch/m68k/linux_syscall.h | 6 +++--- sys/compat/linux/arch/m68k/linux_syscallargs.h | 13 ++++++++++--- sys/compat/linux/arch/m68k/linux_syscalls.c | 4 ++-- sys/compat/linux/arch/m68k/linux_sysent.c | 8 ++++---- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index e76034c86ab5..001365503774 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscall.h,v 1.13 2000/02/03 10:22:37 abs Exp $ */ +/* $NetBSD: linux_syscall.h,v 1.14 2000/03/18 22:16:56 erh Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp + * created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -237,7 +237,7 @@ /* syscall: "swapon" ret: "int" args: "char *" */ #define LINUX_SYS_swapon 87 -/* syscall: "reboot" ret: "int" args: "int" */ +/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */ #define LINUX_SYS_reboot 88 /* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */ diff --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index 7b73efdee78d..18c87518745f 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.13 2000/02/03 10:22:37 abs Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.14 2000/03/18 22:16:56 erh Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp + * created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp */ #ifndef _LINUX_SYS__SYSCALLARGS_H_ @@ -204,6 +204,13 @@ struct linux_sys_uselib_args { syscallarg(const char *) path; }; +struct linux_sys_reboot_args { + syscallarg(int) magic1; + syscallarg(int) magic2; + syscallarg(int) cmd; + syscallarg(void *) arg; +}; + struct linux_sys_readdir_args { syscallarg(int) fd; syscallarg(caddr_t) dent; @@ -538,7 +545,7 @@ int linux_sys_uselib __P((struct proc *, void *, register_t *)); int compat_12_sys_swapon __P((struct proc *, void *, register_t *)); #else #endif -int sys_reboot __P((struct proc *, void *, register_t *)); +int linux_sys_reboot __P((struct proc *, void *, register_t *)); int linux_sys_readdir __P((struct proc *, void *, register_t *)); int linux_sys_old_mmap __P((struct proc *, void *, register_t *)); int sys_munmap __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index ade2ab2bc9bd..5ebc3edd7c92 100644 --- a/sys/compat/linux/arch/m68k/linux_syscalls.c +++ b/sys/compat/linux/arch/m68k/linux_syscalls.c @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscalls.c,v 1.13 2000/02/03 10:22:40 abs Exp $ */ +/* $NetBSD: linux_syscalls.c,v 1.14 2000/03/18 22:16:57 erh Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp + * created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp */ #if defined(_KERNEL) && !defined(_LKM) diff --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c index c826e384ab0a..73b36160f58e 100644 --- a/sys/compat/linux/arch/m68k/linux_sysent.c +++ b/sys/compat/linux/arch/m68k/linux_sysent.c @@ -1,10 +1,10 @@ -/* $NetBSD: linux_sysent.c,v 1.13 2000/02/03 10:22:41 abs Exp $ */ +/* $NetBSD: linux_sysent.c,v 1.14 2000/03/18 22:16:57 erh Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp + * created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp */ #include "opt_compat_netbsd.h" @@ -224,8 +224,8 @@ struct sysent linux_sysent[] = { { 0, 0, sys_nosys }, /* 87 = unimplemented compat_12_sys_swapon */ #endif - { 1, s(struct sys_reboot_args), - sys_reboot }, /* 88 = reboot */ + { 4, s(struct linux_sys_reboot_args), + linux_sys_reboot }, /* 88 = reboot */ { 3, s(struct linux_sys_readdir_args), linux_sys_readdir }, /* 89 = readdir */ { 1, s(struct linux_sys_old_mmap_args),