Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/common/include/asm For module build assume ...
details: https://anonhg.NetBSD.org/src/rev/df19a5cce5d1
branches: trunk
changeset: 366478:df19a5cce5d1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Aug 28 15:04:58 2018 +0000
description:
For module build assume multiprocessor.
diffstat:
sys/external/bsd/common/include/asm/barrier.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r ea5112dac425 -r df19a5cce5d1 sys/external/bsd/common/include/asm/barrier.h
--- a/sys/external/bsd/common/include/asm/barrier.h Tue Aug 28 15:04:02 2018 +0000
+++ b/sys/external/bsd/common/include/asm/barrier.h Tue Aug 28 15:04:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: barrier.h,v 1.3 2017/09/11 07:33:45 maya Exp $ */
+/* $NetBSD: barrier.h,v 1.4 2018/08/28 15:04:58 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -36,6 +36,8 @@
#ifdef _KERNEL_OPT
#include "opt_multiprocessor.h"
+#else
+#define MULTIPROCESSOR 1 /* safer to assume multiprocessor */
#endif
#define mb membar_sync
Home |
Main Index |
Thread Index |
Old Index