Patterned after next68k, omit inclusion of <sys/device.h> if we
are not in _KERNEL. This should work around our lint problems related to "unspecified-size array at end of struct" constructs.
This commit is contained in:
parent
553e3c8477
commit
dc4ed2e4cb
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: param.h,v 1.45 2004/08/28 19:46:41 thorpej Exp $ */
|
||||
/* $NetBSD: param.h,v 1.46 2005/09/11 23:15:18 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1990, 1993
|
||||
|
@ -85,10 +85,12 @@
|
|||
#define _MACHINE hp300
|
||||
#define MACHINE "hp300"
|
||||
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* Interrupt glue.
|
||||
*/
|
||||
#include <machine/intr.h>
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#define PGSHIFT 12 /* LOG2(NBPG) */
|
||||
#define KERNBASE 0x00000000 /* start of kernel virtual */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: param.h,v 1.26 2003/08/07 16:28:41 agc Exp $ */
|
||||
/* $NetBSD: param.h,v 1.27 2005/09/11 23:15:18 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1990, 1993
|
||||
|
@ -85,10 +85,12 @@
|
|||
#define _MACHINE mvme68k
|
||||
#define MACHINE "mvme68k"
|
||||
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* Grab the interrupt definitions
|
||||
*/
|
||||
#include <machine/intr.h>
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#define PGSHIFT 12 /* LOG2(NBPG) */
|
||||
#define KERNBASE 0x00000000 /* start of kernel virtual */
|
||||
|
|
Loading…
Reference in New Issue