Module Name: src
Committed By: skrll
Date: Sun Jan 30 22:36:12 UTC 2011
Modified Files:
src/sys/arch/hppa/hppa: lock_stubs.S
Log Message:
Tweak a comment. Suggestion from rmind@.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hppa/hppa/lock_stubs.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/hppa/lock_stubs.S
diff -u src/sys/arch/hppa/hppa/lock_stubs.S:1.20 src/sys/arch/hppa/hppa/lock_stubs.S:1.21
--- src/sys/arch/hppa/hppa/lock_stubs.S:1.20 Sun Jan 30 10:09:23 2011
+++ src/sys/arch/hppa/hppa/lock_stubs.S Sun Jan 30 22:36:12 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: lock_stubs.S,v 1.20 2011/01/30 10:09:23 skrll Exp $ */
+/* $NetBSD: lock_stubs.S,v 1.21 2011/01/30 22:36:12 skrll Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -152,9 +152,9 @@
LEAF_ENTRY(mutex_enter)
/*
- * It might be a spin lock, or might be already owned.
- * We short circut the request and go straight into
- * mutex_vector_enter() if the owners field is not clear.
+ * It might be a spin lock (c.f. MUTEX_SPIN_FLAG) or might be
+ * already owned. We short circut the request and go straight
+ * into mutex_vector_enter() if the owners field is not 'unowned'.
*/
ldi MUTEX_ADAPTIVE_UNOWNED, %t1