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/38dff901a843
branches: trunk
changeset: 1020051:38dff901a843
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 767414f5a176 -r 38dff901a843 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