From dc4ed2e4cb0482441f58a25c432e71a9a1845c77 Mon Sep 17 00:00:00 2001 From: he Date: Sun, 11 Sep 2005 23:15:18 +0000 Subject: [PATCH] Patterned after next68k, omit inclusion of if we are not in _KERNEL. This should work around our lint problems related to "unspecified-size array at end of struct" constructs. --- sys/arch/hp300/include/param.h | 4 +++- sys/arch/mvme68k/include/param.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/arch/hp300/include/param.h b/sys/arch/hp300/include/param.h index 4cc4da055c89..3d6abe8679c0 100644 --- a/sys/arch/hp300/include/param.h +++ b/sys/arch/hp300/include/param.h @@ -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 +#endif /* _KERNEL */ #define PGSHIFT 12 /* LOG2(NBPG) */ #define KERNBASE 0x00000000 /* start of kernel virtual */ diff --git a/sys/arch/mvme68k/include/param.h b/sys/arch/mvme68k/include/param.h index d2bc8e8f80c7..845bcdc7f474 100644 --- a/sys/arch/mvme68k/include/param.h +++ b/sys/arch/mvme68k/include/param.h @@ -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 +#endif /* _KERNEL */ #define PGSHIFT 12 /* LOG2(NBPG) */ #define KERNBASE 0x00000000 /* start of kernel virtual */