Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys move l_private and l_locks so that they're initialized.
details: https://anonhg.NetBSD.org/src/rev/892c7affcc2f
branches: trunk
changeset: 580703:892c7affcc2f
user: yamt <yamt%NetBSD.org@localhost>
date: Wed May 04 23:22:44 2005 +0000
description:
move l_private and l_locks so that they're initialized.
diffstat:
sys/sys/lwp.h | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r 989434ecb54d -r 892c7affcc2f sys/sys/lwp.h
--- a/sys/sys/lwp.h Wed May 04 20:54:25 2005 +0000
+++ b/sys/sys/lwp.h Wed May 04 23:22:44 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwp.h,v 1.26 2005/02/26 22:25:34 perry Exp $ */
+/* $NetBSD: lwp.h,v 1.27 2005/05/04 23:22:44 yamt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -74,6 +74,9 @@
int l_dupfd; /* Sideways return value from cloning devices XXX */
struct sadata_vp *l_savp; /* SA "virtual processor" */
+ int l_locks; /* DEBUG: lockmgr count of held locks */
+ void *l_private; /* svr4-style lwp-private data */
+
#define l_endzero l_priority
#define l_startcopy l_priority
@@ -81,16 +84,12 @@
u_char l_priority; /* Process priority. */
u_char l_usrpri; /* User-priority based on p_cpu and p_nice. */
-#define l_endcopy l_private
+#define l_endcopy l_emuldata
- void *l_private; /* svr4-style lwp-private data */
void *l_emuldata; /* kernel lwp-private data */
- int l_locks; /* DEBUG: lockmgr count of held locks */
-
struct user *l_addr; /* Kernel virtual addr of u-area (PROC ONLY). */
struct mdlwp l_md; /* Any machine-dependent fields. */
-
};
LIST_HEAD(lwplist, lwp); /* a list of LWPs */
Home |
Main Index |
Thread Index |
Old Index