Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/pic Include missing opt_multiprocessor.h.



details:   https://anonhg.NetBSD.org/src/rev/db176288cb51
branches:  trunk
changeset: 935587:db176288cb51
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jul 06 10:54:56 2020 +0000

description:
Include missing opt_multiprocessor.h.

diffstat:

 sys/arch/powerpc/include/booke/cpuvar.h |  6 +++++-
 sys/arch/powerpc/pic/pic_openpic.c      |  8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r dc50cc220c7f -r db176288cb51 sys/arch/powerpc/include/booke/cpuvar.h
--- a/sys/arch/powerpc/include/booke/cpuvar.h   Mon Jul 06 10:52:12 2020 +0000
+++ b/sys/arch/powerpc/include/booke/cpuvar.h   Mon Jul 06 10:54:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuvar.h,v 1.20 2019/04/07 05:25:55 thorpej Exp $      */
+/*     $NetBSD: cpuvar.h,v 1.21 2020/07/06 10:54:56 rin Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -37,6 +37,10 @@
 #ifndef _POWERPC_BOOKE_CPUVAR_H_
 #define _POWERPC_BOOKE_CPUVAR_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_multiprocessor.h"
+#endif
+
 #include <sys/bus.h>
 #include <prop/proplib.h>
 #include <powerpc/psl.h>
diff -r dc50cc220c7f -r db176288cb51 sys/arch/powerpc/pic/pic_openpic.c
--- a/sys/arch/powerpc/pic/pic_openpic.c        Mon Jul 06 10:52:12 2020 +0000
+++ b/sys/arch/powerpc/pic/pic_openpic.c        Mon Jul 06 10:54:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_openpic.c,v 1.16 2020/07/06 09:34:18 rin Exp $ */
+/*     $NetBSD: pic_openpic.c,v 1.17 2020/07/06 10:54:56 rin Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,12 +27,16 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_openpic.c,v 1.16 2020/07/06 09:34:18 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_openpic.c,v 1.17 2020/07/06 10:54:56 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_interrupt.h"
 #endif
 
+#ifdef _KERNEL_OPT
+#include "opt_multiprocessor.h"
+#endif
+
 #include <sys/param.h>
 #include <sys/kmem.h>
 #include <sys/kernel.h>



Home | Main Index | Thread Index | Old Index