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 macro name; MUTEX_RECEIVE => MUTEX_...
details: https://anonhg.NetBSD.org/src/rev/88dbb72d0b0c
branches: trunk
changeset: 329847:88dbb72d0b0c
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Jun 12 06:28:09 2014 +0000
description:
Fix macro name; MUTEX_RECEIVE => MUTEX_GIVE
diffstat:
sys/arch/arm/include/mutex.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f836cc1a332b -r 88dbb72d0b0c sys/arch/arm/include/mutex.h
--- a/sys/arch/arm/include/mutex.h Thu Jun 12 03:23:58 2014 +0000
+++ b/sys/arch/arm/include/mutex.h Thu Jun 12 06:28:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex.h,v 1.14 2014/03/28 21:40:53 matt Exp $ */
+/* $NetBSD: mutex.h,v 1.15 2014/06/12 06:28:09 ozaki-r Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@
*/
#ifdef MULTIPROCESSOR
#if defined(_ARM_ARCH_7) && !defined(_ARM_ARCH_6)
-#define MUTEX_RECEIVE(mtx) __asm __volatile("dsb")
+#define MUTEX_GIVE(mtx) __asm __volatile("dsb")
#else
#define MUTEX_GIVE(mtx) membar_producer()
#endif
Home |
Main Index |
Thread Index |
Old Index