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 G/C MUTEX_PAUSE_{PAUSE,WAKE}
details: https://anonhg.NetBSD.org/src/rev/b7bcce0bf6ac
branches: trunk
changeset: 946570:b7bcce0bf6ac
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Dec 01 14:53:47 2020 +0000
description:
G/C MUTEX_PAUSE_{PAUSE,WAKE}
diffstat:
sys/arch/arm/include/mutex.h | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (20 lines):
diff -r 5055dc4547ce -r b7bcce0bf6ac sys/arch/arm/include/mutex.h
--- a/sys/arch/arm/include/mutex.h Tue Dec 01 14:52:36 2020 +0000
+++ b/sys/arch/arm/include/mutex.h Tue Dec 01 14:53:47 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex.h,v 1.24 2020/12/01 14:52:36 skrll Exp $ */
+/* $NetBSD: mutex.h,v 1.25 2020/12/01 14:53:47 skrll Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -82,10 +82,6 @@
#define MUTEX_CAS(p, o, n) \
(atomic_cas_ulong((volatile unsigned long *)(p), (o), (n)) == (o))
-#ifdef MULTIPROCESSOR
-#define MUTEX_SMT_PAUSE() __asm __volatile("wfe")
-#define MUTEX_SMT_WAKE() __asm __volatile("sev")
-#endif
#endif /* __MUTEX_PRIVATE */
Home |
Main Index |
Thread Index |
Old Index