"opt_ddb.h" should be included at the beginning of source file,

because some headers (in this case <systm.h>) refers symbols (e.g. DDB)
defined in the opt_ddb.h
This commit is contained in:
soda 2001-05-31 19:41:57 +00:00
parent 1042f830e5
commit 9bac50748f
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.78 2001/05/15 06:01:23 nisimura Exp $ */
/* $NetBSD: vm_machdep.c,v 1.79 2001/05/31 19:41:57 soda Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -42,8 +42,10 @@
* @(#)vm_machdep.c 8.3 (Berkeley) 1/4/94
*/
#include "opt_ddb.h"
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.78 2001/05/15 06:01:23 nisimura Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.79 2001/05/31 19:41:57 soda Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -63,8 +65,6 @@ __KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.78 2001/05/15 06:01:23 nisimura Exp
#include <mips/psl.h>
#include <machine/cpu.h>
#include "opt_ddb.h"
paddr_t kvtophys __P((vaddr_t)); /* XXX */
/*