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 linux asm/barrier.h: Fix...
details: https://anonhg.NetBSD.org/src/rev/965b620003e4
branches: trunk
changeset: 373743:965b620003e4
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 25 12:23:36 2023 +0000
description:
linux asm/barrier.h: Fix !MULTIPROCESSOR build.
diffstat:
sys/external/bsd/common/include/asm/barrier.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 0f79777d26d5 -r 965b620003e4 sys/external/bsd/common/include/asm/barrier.h
--- a/sys/external/bsd/common/include/asm/barrier.h Sat Feb 25 12:07:25 2023 +0000
+++ b/sys/external/bsd/common/include/asm/barrier.h Sat Feb 25 12:23:36 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: barrier.h,v 1.20 2023/02/24 11:02:05 riastradh Exp $ */
+/* $NetBSD: barrier.h,v 1.21 2023/02/25 12:23:36 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -106,8 +106,8 @@
# define smp_mb() __insn_barrier()
# define smp_wmb() __insn_barrier()
# define smp_rmb() __insn_barrier()
-# define smp_mb__before_atomic __nothing
-# define smp_mb__after_atomic __nothing
+# define smp_mb__before_atomic() __nothing
+# define smp_mb__after_atomic() __nothing
#endif
#endif /* _ASM_BARRIER_H_ */
Home |
Main Index |
Thread Index |
Old Index