Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/pic Protect #include "opt_multiprocessor.h" wit...



details:   https://anonhg.NetBSD.org/src/rev/a25aad4ed232
branches:  trunk
changeset: 339242:a25aad4ed232
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 07 21:43:46 2015 +0000

description:
Protect #include "opt_multiprocessor.h" with _KERNEL_OPT

diffstat:

 sys/arch/arm/pic/picvar.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 031244482cd0 -r a25aad4ed232 sys/arch/arm/pic/picvar.h
--- a/sys/arch/arm/pic/picvar.h Tue Jul 07 21:40:19 2015 +0000
+++ b/sys/arch/arm/pic/picvar.h Tue Jul 07 21:43:46 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: picvar.h,v 1.15 2015/04/15 15:45:06 matt Exp $ */
+/*     $NetBSD: picvar.h,v 1.16 2015/07/07 21:43:46 matt Exp $ */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -30,7 +30,9 @@
 #ifndef _ARM_PIC_PICVAR_H_
 #define _ARM_PIC_PICVAR_H_
 
+#ifdef _KERNEL_OPT
 #include "opt_multiprocessor.h"
+#endif
 
 #ifdef MULTIPROCESSOR
 #include <sys/kcpuset.h>



Home | Main Index | Thread Index | Old Index