Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa Tweak a comment. Suggestion from rmind@.



details:   https://anonhg.NetBSD.org/src/rev/1383c687e358
branches:  trunk
changeset: 761509:1383c687e358
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jan 30 22:36:12 2011 +0000

description:
Tweak a comment.  Suggestion from rmind@.

diffstat:

 sys/arch/hppa/hppa/lock_stubs.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 59f339ce1f14 -r 1383c687e358 sys/arch/hppa/hppa/lock_stubs.S
--- a/sys/arch/hppa/hppa/lock_stubs.S   Sun Jan 30 21:48:48 2011 +0000
+++ b/sys/arch/hppa/hppa/lock_stubs.S   Sun Jan 30 22:36:12 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index