Commit regenerated files after this change to syscalls.master:

sys_nfssvc() is actually only defined when NFSSERVER is defined,
not when only NFS is defined, according to sys/nfs/files.nfs.
Adapt accordingly.  Fixes build of amiga INSTALL kernel.
This commit is contained in:
he 2008-11-21 15:15:31 +00:00
parent 5ed8abf7d9
commit b9e9d5c919
4 changed files with 15 additions and 15 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: aoutm68k_syscall.h,v 1.34 2008/11/12 12:36:09 ad Exp $ */
/* $NetBSD: aoutm68k_syscall.h,v 1.35 2008/11/21 15:15:31 he Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2008/06/21 19:58:27 he Exp
* created from NetBSD: syscalls.master,v 1.30 2008/11/21 15:14:56 he Exp
*/
#ifndef _AOUTM68K_SYS_SYSCALL_H_
@ -562,7 +562,7 @@
/* 149 is excluded compat_43_sys_quota */
/* 150 is excluded compat_43_sys_getsockname */
#endif
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
#if defined(NFSSERVER) || !defined(_KERNEL)
/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
#define AOUTM68K_SYS_nfssvc 155

View File

@ -1,10 +1,10 @@
/* $NetBSD: aoutm68k_syscallargs.h,v 1.32 2008/11/12 12:36:09 ad Exp $ */
/* $NetBSD: aoutm68k_syscallargs.h,v 1.33 2008/11/21 15:15:31 he Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2008/06/21 19:58:27 he Exp
* created from NetBSD: syscalls.master,v 1.30 2008/11/21 15:14:56 he Exp
*/
#ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
@ -364,7 +364,7 @@ struct sys_quotactl_args;
struct compat_43_sys_getsockname_args;
#else
#endif
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
#if defined(NFSSERVER) || !defined(_KERNEL)
struct sys_nfssvc_args;
#else
@ -1025,7 +1025,7 @@ int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockna
#else
#endif
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
#if defined(NFSSERVER) || !defined(_KERNEL)
int sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
#else

View File

@ -1,14 +1,14 @@
/* $NetBSD: aoutm68k_syscalls.c,v 1.31 2008/11/12 12:36:09 ad Exp $ */
/* $NetBSD: aoutm68k_syscalls.c,v 1.32 2008/11/21 15:15:31 he Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2008/06/21 19:58:27 he Exp
* created from NetBSD: syscalls.master,v 1.30 2008/11/21 15:14:56 he Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.31 2008/11/12 12:36:09 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.32 2008/11/21 15:15:31 he Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -307,7 +307,7 @@ const char *const aoutm68k_syscallnames[] = {
/* 152 */ "#152 (unimplemented)",
/* 153 */ "#153 (unimplemented)",
/* 154 */ "#154 (unimplemented)",
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
#if defined(NFSSERVER) || !defined(_KERNEL)
/* 155 */ "nfssvc",
#else
/* 155 */ "#155 (excluded nfssvc)",

View File

@ -1,14 +1,14 @@
/* $NetBSD: aoutm68k_sysent.c,v 1.36 2008/11/12 12:36:09 ad Exp $ */
/* $NetBSD: aoutm68k_sysent.c,v 1.37 2008/11/21 15:15:31 he Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2008/06/21 19:58:27 he Exp
* created from NetBSD: syscalls.master,v 1.30 2008/11/21 15:14:56 he Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.36 2008/11/12 12:36:09 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.37 2008/11/21 15:15:31 he Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -507,7 +507,7 @@ struct sysent aoutm68k_sysent[] = {
sys_nosys }, /* 153 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 154 = unimplemented */
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
#if defined(NFSSERVER) || !defined(_KERNEL)
{ ns(struct sys_nfssvc_args), 0,
(sy_call_t *)sys_nfssvc }, /* 155 = nfssvc */
#else