Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include fix the build (rump does not have opt_f...
details: https://anonhg.NetBSD.org/src/rev/2255f8ba2730
branches: trunk
changeset: 355973:2255f8ba2730
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 25 17:43:33 2017 +0000
description:
fix the build (rump does not have opt_foo.h)
diffstat:
sys/arch/arm/include/cpufunc_proto.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 8f908343937c -r 2255f8ba2730 sys/arch/arm/include/cpufunc_proto.h
--- a/sys/arch/arm/include/cpufunc_proto.h Fri Aug 25 15:06:51 2017 +0000
+++ b/sys/arch/arm/include/cpufunc_proto.h Fri Aug 25 17:43:33 2017 +0000
@@ -44,7 +44,9 @@
#ifdef _KERNEL
-#include "opt_multiprocessor.h"
+#if !defined(_MODULE) && defined(_KERNEL_OPT)
+# include "opt_multiprocessor.h"
+#endif
#include <sys/types.h>
#include <arm/armreg.h>
Home |
Main Index |
Thread Index |
Old Index