From: Andrew Morton <akpm@osdl.org>
To: leif <leif@gci.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: error in Sparc64 rwlock.S
Date: Wed, 19 Nov 2003 14:30:00 -0800 [thread overview]
Message-ID: <20031119143000.7815cb9d.akpm@osdl.org> (raw)
In-Reply-To: <014401c3aee5$587aea20$31828ad0@internet.gci.net>
leif <leif@gci.net> wrote:
>
> Now there's a different problem...
>
> Error: local label '"100" (instance number 1 of a fb label)'
> is not defined
Ah, sorry. This incremental patch should fix that up.
--- 25/arch/sparc64/lib/rwlock.S~lockmeter-sparc64-fix-fix Wed Nov 19 14:29:11 2003
+++ 25-akpm/arch/sparc64/lib/rwlock.S Wed Nov 19 14:29:18 2003
@@ -90,13 +90,15 @@ __write_trylock_fail:
__read_trylock: /* %o0 = lock_ptr */
ldsw [%o0], %g5
brlz,pn %g5, 100f
- add %g5, 1, %g7
+ add %g5, 1, %g7
cas [%o0], %g5, %g7
cmp %g5, %g7
bne,pn %icc, __read_trylock
membar #StoreLoad | #StoreStore
retl
- mov 1, %o0
+ mov 1, %o0
+100: retl
+ mov 0, %o0
rwlock_impl_end:
_
next prev parent reply other threads:[~2003-11-19 22:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-11 20:43 Linux 2.4.20-ac2 Alan Cox
2002-12-11 23:30 ` HyperThreading in recent 2.4-ac kernels Gerald Britton
2002-12-12 1:36 ` Alan Cox
2002-12-12 20:12 ` detecting layout in RAID Anu
2002-12-17 22:55 ` Neil Brown
2003-11-18 21:01 ` error in Sparc64 rwlock.S leif
2003-11-18 21:09 ` Andrew Morton
2003-11-19 0:46 ` David S. Miller
2003-11-19 21:37 ` leif
2003-11-19 22:30 ` Andrew Morton [this message]
2003-11-20 0:03 ` leif
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031119143000.7815cb9d.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=leif@gci.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox