From eb4a83a0397c6cef990a4e95939cb0ea60688392 Mon Sep 17 00:00:00 2001 From: dyoung Date: Wed, 25 Jun 2003 00:03:13 +0000 Subject: [PATCH] Bracket the opt_multiprocessor.h #include with #ifdef _KERNEL_OPT. It won't compile, otherwise. I figure this is right because it's done everywhere else. --- sys/arch/macppc/include/intr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/macppc/include/intr.h b/sys/arch/macppc/include/intr.h index c8039099454b..dc991c58fbe6 100644 --- a/sys/arch/macppc/include/intr.h +++ b/sys/arch/macppc/include/intr.h @@ -1,4 +1,4 @@ -/* $NetBSD: intr.h,v 1.18 2003/06/23 11:01:28 martin Exp $ */ +/* $NetBSD: intr.h,v 1.19 2003/06/25 00:03:13 dyoung Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -39,7 +39,9 @@ #ifndef _MACPPC_INTR_H_ #define _MACPPC_INTR_H_ +#ifdef _KERNEL_OPT #include "opt_multiprocessor.h" +#endif /* Interrupt priority `levels'. */ #define IPL_NONE 9 /* nothing */