Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Make 64-bit clean
details: https://anonhg.NetBSD.org/src/rev/ec375f316b57
branches: trunk
changeset: 327143:ec375f316b57
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 28 05:38:15 2014 +0000
description:
Make 64-bit clean
diffstat:
sys/arch/powerpc/powerpc/lock_stubs.S | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 57016d48381c -r ec375f316b57 sys/arch/powerpc/powerpc/lock_stubs.S
--- a/sys/arch/powerpc/powerpc/lock_stubs.S Fri Feb 28 05:37:51 2014 +0000
+++ b/sys/arch/powerpc/powerpc/lock_stubs.S Fri Feb 28 05:38:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock_stubs.S,v 1.9 2012/09/23 06:05:32 mrg Exp $ */
+/* $NetBSD: lock_stubs.S,v 1.10 2014/02/28 05:38:15 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
ENTRY(_lock_cas)
1:
lptrarx %r10,0,%r3
- cmpw %r10,%r4
+ cmpptr %r10,%r4
bne- 2f
stptrcx. %r5,0,%r3
bne- 1b
@@ -71,7 +71,7 @@
ENTRY(mutex_enter)
1:
lptrarx %r10,0,%r3
- cmpwi %r10,0
+ cmpptri %r10,0
bne- 2f
stptrcx. %r13,0,%r3
bne- 1b
@@ -88,7 +88,7 @@
li %r7,0
1:
lptrarx %r10,0,%r3
- cmpw %r10,%r13
+ cmpptr %r10,%r13
bne- 2f
stptrcx. %r7,0,%r3
bne- 1b
@@ -123,7 +123,7 @@
ori %r7,%r13,RW_WRITE_LOCKED
2: lptrarx %r10,0,%r3
- cmpw %r10,%r9
+ cmpptr %r10,%r9
bne- 3f
stptrcx. %r7,0,%r3
bne- 2b
@@ -148,7 +148,7 @@
ori %r7,%r13,RW_WRITE_LOCKED
2: lptrarx %r10,0,%r3
- cmpw %r10,%r9
+ cmpptr %r10,%r9
bne- 3f
stptrcx. %r7,0,%r3
bne- 2b
@@ -179,7 +179,7 @@
ori %r9,%r13,RW_WRITE_LOCKED
2: lptrarx %r10,0,%r3
- cmpw %r10,%r9
+ cmpptr %r10,%r9
bne- 3f
stptrcx. %r7,0,%r3
bne- 2b
Home |
Main Index |
Thread Index |
Old Index