From 745190dc80a4d4770fd5632e4b2fcf4d2d4b8f4a Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Fri, 28 Sep 2001 01:32:27 +0000 Subject: [PATCH] Regen: Stop using linux_getpgid(). Use the native getpgid() instead. PR: kern/21402 --- sys/i386/linux/linux_proto.h | 6 +----- sys/i386/linux/linux_syscall.h | 4 ++-- sys/i386/linux/linux_sysent.c | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index 12b52fffde85..597a452bb5f8 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.43 2001/09/08 18:48:40 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.44 2001/09/28 01:30:59 marcel Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -382,9 +382,6 @@ struct linux_get_kernel_syms_args { struct linux_quotactl_args { register_t dummy; }; -struct linux_getpgid_args { - char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)]; -}; struct linux_bdflush_args { register_t dummy; }; @@ -737,7 +734,6 @@ int linux_init_module __P((struct thread *, struct linux_init_module_args *)); int linux_delete_module __P((struct thread *, struct linux_delete_module_args *)); int linux_get_kernel_syms __P((struct thread *, struct linux_get_kernel_syms_args *)); int linux_quotactl __P((struct thread *, struct linux_quotactl_args *)); -int linux_getpgid __P((struct thread *, struct linux_getpgid_args *)); int linux_bdflush __P((struct thread *, struct linux_bdflush_args *)); int linux_sysfs __P((struct thread *, struct linux_sysfs_args *)); int linux_personality __P((struct thread *, struct linux_personality_args *)); diff --git a/sys/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h index 19f4a923186e..d4f497c6f668 100644 --- a/sys/i386/linux/linux_syscall.h +++ b/sys/i386/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.43 2001/09/08 18:48:40 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.44 2001/09/28 01:30:59 marcel Exp */ #define LINUX_SYS_exit 1 @@ -127,7 +127,7 @@ #define LINUX_SYS_linux_delete_module 129 #define LINUX_SYS_linux_get_kernel_syms 130 #define LINUX_SYS_linux_quotactl 131 -#define LINUX_SYS_linux_getpgid 132 +#define LINUX_SYS_getpgid 132 #define LINUX_SYS_fchdir 133 #define LINUX_SYS_linux_bdflush 134 #define LINUX_SYS_linux_sysfs 135 diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index de2af45acd73..ed7ee6ec8ea5 100644 --- a/sys/i386/linux/linux_sysent.c +++ b/sys/i386/linux/linux_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.43 2001/09/08 18:48:40 marcel Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.44 2001/09/28 01:30:59 marcel Exp */ #include "opt_compat.h" @@ -149,7 +149,7 @@ struct sysent linux_sysent[] = { { 0, (sy_call_t *)linux_delete_module }, /* 129 = linux_delete_module */ { 0, (sy_call_t *)linux_get_kernel_syms }, /* 130 = linux_get_kernel_syms */ { 0, (sy_call_t *)linux_quotactl }, /* 131 = linux_quotactl */ - { AS(linux_getpgid_args), (sy_call_t *)linux_getpgid }, /* 132 = linux_getpgid */ + { AS(getpgid_args), (sy_call_t *)getpgid }, /* 132 = getpgid */ { AS(fchdir_args), (sy_call_t *)fchdir }, /* 133 = fchdir */ { 0, (sy_call_t *)linux_bdflush }, /* 134 = linux_bdflush */ { AS(linux_sysfs_args), (sy_call_t *)linux_sysfs }, /* 135 = linux_sysfs */