Rename sc_auto to sc_autoload at suggestion of christos@

This commit is contained in:
pgoyette 2015-11-30 23:17:40 +00:00
parent bea1b39c5f
commit 89c8da7109
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_syscall.c,v 1.12 2015/11/30 22:47:19 pgoyette Exp $ */
/* $NetBSD: kern_syscall.c,v 1.13 2015/11/30 23:17:40 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.12 2015/11/30 22:47:19 pgoyette Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.13 2015/11/30 23:17:40 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_modular.h"
@ -63,8 +63,8 @@ sys_nomodule(struct lwp *l, const void *v, register_t *retval)
const struct sysent *sy;
const struct emul *em;
const struct sc_auto *auto_list;
int code;
const struct sc_autoload *auto_list;
u_int code;
/*
* Restart the syscall if we interrupted a module unload that

View File

@ -1,4 +1,4 @@
# $NetBSD: makesyscalls.sh,v 1.156 2015/11/30 23:00:14 pgoyette Exp $
# $NetBSD: makesyscalls.sh,v 1.157 2015/11/30 23:17:40 pgoyette Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@ -258,7 +258,7 @@ NR == 1 {
printf " * created from%s\n */\n\n", $0 > sysautoload
printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"%s\");\n\n", tag > sysautoload
printf("#include <sys/proc.h>\n") > sysautoload
printf("static struct sc_auto " autoloadprefix \
printf("static struct sc_autoload " autoloadprefix \
"_syscalls_autoload[] = {\n") > sysautoload
printf " * created from%s\n */\n\n", $0 > rumpcalls

View File

@ -1,4 +1,4 @@
/* $NetBSD: proc.h,v 1.325 2015/11/30 22:47:19 pgoyette Exp $ */
/* $NetBSD: proc.h,v 1.326 2015/11/30 23:17:40 pgoyette Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@ -126,7 +126,7 @@ struct pgrp {
/*
* Autoloadable syscall definition
*/
struct sc_auto {
struct sc_autoload {
u_int al_code;
const char *al_module;
};