From 07be3b5e7694f4fd7f7552e427250c02779d4443 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 1 Apr 2001 06:43:09 +0000 Subject: [PATCH] Regen after adding linux_sched_get_priority_max() and linux_sched_get_priority_min(). --- sys/i386/linux/linux_proto.h | 10 +++++++++- sys/i386/linux/linux_syscall.h | 6 +++--- sys/i386/linux/linux_sysent.c | 6 +++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index 2df15d0a015e..3c9a393be557 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.39 2001/02/16 14:42:08 jlemon Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.40 2001/04/01 06:37:40 alc Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -433,6 +433,12 @@ struct linux_sched_setscheduler_args { struct linux_sched_getscheduler_args { pid_t pid; char pid_[PAD_(pid_t)]; }; +struct linux_sched_get_priority_max_args { + int policy; char policy_[PAD_(int)]; +}; +struct linux_sched_get_priority_min_args { + int policy; char policy_[PAD_(int)]; +}; struct linux_mremap_args { caddr_t addr; char addr_[PAD_(caddr_t)]; int old_len; char old_len_[PAD_(int)]; @@ -662,6 +668,8 @@ int linux_fdatasync __P((struct proc *, struct linux_fdatasync_args *)); int linux_sysctl __P((struct proc *, struct linux_sysctl_args *)); int linux_sched_setscheduler __P((struct proc *, struct linux_sched_setscheduler_args *)); int linux_sched_getscheduler __P((struct proc *, struct linux_sched_getscheduler_args *)); +int linux_sched_get_priority_max __P((struct proc *, struct linux_sched_get_priority_max_args *)); +int linux_sched_get_priority_min __P((struct proc *, struct linux_sched_get_priority_min_args *)); int linux_mremap __P((struct proc *, struct linux_mremap_args *)); int linux_getresuid __P((struct proc *, struct linux_getresuid_args *)); int linux_vm86 __P((struct proc *, struct linux_vm86_args *)); diff --git a/sys/i386/linux/linux_syscall.h b/sys/i386/linux/linux_syscall.h index c708979344dc..c4e3dad139ab 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.39 2001/02/16 14:42:08 jlemon Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.40 2001/04/01 06:37:40 alc Exp */ #define LINUX_SYS_linux_setup 0 @@ -165,8 +165,8 @@ #define LINUX_SYS_linux_sched_setscheduler 156 #define LINUX_SYS_linux_sched_getscheduler 157 #define LINUX_SYS_sched_yield 158 -#define LINUX_SYS_sched_get_priority_max 159 -#define LINUX_SYS_sched_get_priority_min 160 +#define LINUX_SYS_linux_sched_get_priority_max 159 +#define LINUX_SYS_linux_sched_get_priority_min 160 #define LINUX_SYS_sched_rr_get_interval 161 #define LINUX_SYS_nanosleep 162 #define LINUX_SYS_linux_mremap 163 diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index ecf0728b3152..c0b41b381e86 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.39 2001/02/16 14:42:08 jlemon Exp + * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.40 2001/04/01 06:37:40 alc Exp */ #include "opt_compat.h" @@ -176,8 +176,8 @@ struct sysent linux_sysent[] = { { AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler }, /* 156 = linux_sched_setscheduler */ { AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler }, /* 157 = linux_sched_getscheduler */ { 0, (sy_call_t *)sched_yield }, /* 158 = sched_yield */ - { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 159 = sched_get_priority_max */ - { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 160 = sched_get_priority_min */ + { AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max }, /* 159 = linux_sched_get_priority_max */ + { AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min }, /* 160 = linux_sched_get_priority_min */ { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 161 = sched_rr_get_interval */ { AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 162 = nanosleep */ { AS(linux_mremap_args), (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */