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 Don't use magic constant.
details: https://anonhg.NetBSD.org/src/rev/3a0f03b15d7f
branches: trunk
changeset: 761500:3a0f03b15d7f
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jan 30 10:09:23 2011 +0000
description:
Don't use magic constant.
diffstat:
sys/arch/hppa/hppa/lock_stubs.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ef56a005682e -r 3a0f03b15d7f sys/arch/hppa/hppa/lock_stubs.S
--- a/sys/arch/hppa/hppa/lock_stubs.S Sun Jan 30 09:58:03 2011 +0000
+++ b/sys/arch/hppa/hppa/lock_stubs.S Sun Jan 30 10:09:23 2011 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index