Module Name: src
Committed By: skrll
Date: Sun Jan 30 10:09:23 UTC 2011
Modified Files:
src/sys/arch/hppa/hppa: lock_stubs.S
Log Message:
Don't use magic constant.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 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.19 src/sys/arch/hppa/hppa/lock_stubs.S:1.20
--- src/sys/arch/hppa/hppa/lock_stubs.S:1.19 Sun Jan 30 09:58:03 2011
+++ src/sys/arch/hppa/hppa/lock_stubs.S Sun Jan 30 10:09:23 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: lock_stubs.S,v 1.19 2011/01/30 09:58:03 skrll Exp $ */
+/* $NetBSD: lock_stubs.S,v 1.20 2011/01/30 10:09:23 skrll Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -114,7 +114,7 @@
* field and release the lock.
*/
- ldi 1, %t2 /* unlocked = 1 */
+ ldi __SIMPLELOCK_RAW_UNLOCKED, %t2 /* unlocked = 1 */
ldo (MTX_LOCK + HPPA_LDCW_ALIGN - 1)(%arg0), %t3
depi 0, 31, 4, %t3
stw %t1, MTX_OWNER(%arg0)