Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include Fix typo _MODULAR -> _MODULE. Hopeful...
details: https://anonhg.NetBSD.org/src/rev/69eab7bb4ae4
branches: trunk
changeset: 936449:69eab7bb4ae4
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jul 27 08:25:28 2020 +0000
description:
Fix typo _MODULAR -> _MODULE. Hopefully this fixes the builds.
diffstat:
sys/arch/mips/include/locore.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 579542b3cb17 -r 69eab7bb4ae4 sys/arch/mips/include/locore.h
--- a/sys/arch/mips/include/locore.h Mon Jul 27 07:36:19 2020 +0000
+++ b/sys/arch/mips/include/locore.h Mon Jul 27 08:25:28 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.h,v 1.110 2020/07/26 08:08:41 simonb Exp $ */
+/* $NetBSD: locore.h,v 1.111 2020/07/27 08:25:28 skrll Exp $ */
/*
* This file should not be included by MI code!!!
@@ -28,7 +28,7 @@
#ifndef _MIPS_LOCORE_H
#define _MIPS_LOCORE_H
-#if defined(_KERNEL_OPT)
+#if !defined(_MODULE) && defined(_KERNEL_OPT)
#include "opt_cputype.h"
#endif
@@ -51,8 +51,8 @@
#ifdef _KERNEL
-#if defined(_MODULAR) || defined(_STANDALONE)
-/* Assume all CPU architectures are valid for LKM's and standlone progs */
+#if defined(_MODULE) || defined(_STANDALONE)
+/* Assume all CPU architectures are valid for modules and standlone progs */
#if !defined(__mips_n32) && !defined(__mips_n64)
#define MIPS1 1
#endif
@@ -64,7 +64,7 @@
#endif
#define MIPS64 1
#define MIPS64R2 1
-#endif /* _MODULAR || _STANDALONE */
+#endif /* _MODULE || _STANDALONE */
#if (MIPS1 + MIPS3 + MIPS4 + MIPS32 + MIPS32R2 + MIPS64 + MIPS64R2) == 0
#error at least one of MIPS1, MIPS3, MIPS4, MIPS32, MIPS32R2, MIPS64, or MIPS64R2 must be specified
Home |
Main Index |
Thread Index |
Old Index