Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.

This commit is contained in:
tsutsui 2008-06-17 16:17:21 +00:00
parent 57b3a1930e
commit d7d2a525b1
4 changed files with 13 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_12.c,v 1.18 2008/05/29 14:51:26 mrg Exp $ */
/* $NetBSD: vm_12.c,v 1.19 2008/06/17 16:17:21 tsutsui Exp $ */
/*
* Copyright (c) 1997 Matthew R. Green
@ -27,11 +27,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vm_12.c,v 1.18 2008/05/29 14:51:26 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_12.c,v 1.19 2008/06/17 16:17:21 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mount.h> /* needed for next include! */
#include <sys/mount.h> /* needed for syscallargs.h */
#include <sys/sched.h> /* needed for syscallargs.h */
#include <sys/syscallargs.h>
#include <sys/swap.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos_sysent.c,v 1.73 2007/12/27 17:05:28 martin Exp $ */
/* $NetBSD: sunos_sysent.c,v 1.74 2008/06/17 16:17:21 tsutsui Exp $ */
/*
* System call switch table.
@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos_sysent.c,v 1.73 2007/12/27 17:05:28 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos_sysent.c,v 1.74 2008/06/17 16:17:21 tsutsui Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfsserver.h"
@ -20,6 +20,7 @@ __KERNEL_RCSID(0, "$NetBSD: sunos_sysent.c,v 1.73 2007/12/27 17:05:28 martin Exp
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
#include <compat/sunos/sunos.h>
#include <compat/sunos/sunos_syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_pmf.c,v 1.19 2008/05/05 00:15:57 jmcneill Exp $ */
/* $NetBSD: kern_pmf.c,v 1.20 2008/06/17 16:17:21 tsutsui Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_pmf.c,v 1.19 2008/05/05 00:15:57 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_pmf.c,v 1.20 2008/06/17 16:17:21 tsutsui Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -38,6 +38,7 @@ __KERNEL_RCSID(0, "$NetBSD: kern_pmf.c,v 1.19 2008/05/05 00:15:57 jmcneill Exp $
#include <sys/device.h>
#include <sys/pmf.h>
#include <sys/queue.h>
#include <sys/sched.h>
#include <sys/syscallargs.h> /* for sys_sync */
#include <sys/workqueue.h>
#include <prop/proplib.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_mremap.c,v 1.11 2008/06/02 16:25:34 ad Exp $ */
/* $NetBSD: uvm_mremap.c,v 1.12 2008/06/17 16:17:21 tsutsui Exp $ */
/*-
* Copyright (c)2006 YAMAMOTO Takashi,
@ -27,10 +27,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_mremap.c,v 1.11 2008/06/02 16:25:34 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvm_mremap.c,v 1.12 2008/06/17 16:17:21 tsutsui Exp $");
#include <sys/param.h>
#include <sys/mman.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
#include <sys/proc.h>
#include <sys/atomic.h>