Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys Don't define mtx_owner here. mt...
details: https://anonhg.NetBSD.org/src/rev/c44a9fb51d87
branches: trunk
changeset: 960785:c44a9fb51d87
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Mar 29 01:43:18 2021 +0000
description:
Don't define mtx_owner here. mtx_owner is always available, and not
all architecutres use the same structure for a kernel mutex.
OK thorpej@
diffstat:
external/cddl/osnet/sys/sys/mutex_impl.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 184b52983d80 -r c44a9fb51d87 external/cddl/osnet/sys/sys/mutex_impl.h
--- a/external/cddl/osnet/sys/sys/mutex_impl.h Mon Mar 29 01:33:12 2021 +0000
+++ b/external/cddl/osnet/sys/sys/mutex_impl.h Mon Mar 29 01:43:18 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mutex_impl.h,v 1.1 2010/02/21 01:46:36 darran Exp $ */
+/* $NetBSD: mutex_impl.h,v 1.2 2021/03/29 01:43:18 simonb Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -35,7 +35,6 @@
#define __MUTEX_PRIVATE
#include <sys/mutex.h>
-#define mtx_owner u.mtxa_owner
#define MUTEX_THREAD ((uintptr_t)-16L)
#define MUTEX_OWNER(mtx) \
((mtx)->mtx_owner & MUTEX_THREAD)
Home |
Main Index |
Thread Index |
Old Index