Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Correct #ifdef; _MODULE not _MODULA...



details:   https://anonhg.NetBSD.org/src/rev/b3478abb350b
branches:  trunk
changeset: 935561:b3478abb350b
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jul 06 08:26:10 2020 +0000

description:
Correct #ifdef; _MODULE not _MODULAR here.

Now __HAVE_PMAP_PHYSSEG is defined correctly for modules, which was
missing accidentally.

diffstat:

 sys/arch/powerpc/include/vmparam.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r db5098f50ce2 -r b3478abb350b sys/arch/powerpc/include/vmparam.h
--- a/sys/arch/powerpc/include/vmparam.h        Mon Jul 06 08:20:40 2020 +0000
+++ b/sys/arch/powerpc/include/vmparam.h        Mon Jul 06 08:26:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.23 2020/06/27 02:51:23 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.24 2020/07/06 08:26:10 rin Exp $ */
 
 #ifndef _POWERPC_VMPARAM_H_
 #define _POWERPC_VMPARAM_H_
@@ -77,7 +77,7 @@
 
 #endif /* !_MODULE */
 
-#if defined(MODULAR) || defined(_MODULAR)
+#if defined(MODULAR) || defined(_MODULE)
 /*
  * If we are a module or support modules, we need to define a compatible
  * pmap_physseg since IBM4XX uses one.  This will waste a tiny of space



Home | Main Index | Thread Index | Old Index