From: Paul Mackerras <paulus@samba.org>
To: akpm@osdl.org, torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org, benh@kernel.crashing.org,
trini@kernel.crashing.org
Subject: [PATCH][PPC32] Fix typo in ppc32 spinlock.h
Date: Sat, 5 Jun 2004 09:07:24 +1000 [thread overview]
Message-ID: <16577.172.594575.31066@cargo.ozlabs.ibm.com> (raw)
Brown-paper bag time... I put a typo in the asm for _raw_write_trylock
(left in a spurious \n\). This patch fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
diff -urN linux-2.5/include/asm-ppc/spinlock.h power3-2.5/include/asm-ppc/spinlock.h
--- linux-2.5/include/asm-ppc/spinlock.h 2004-06-04 07:19:01.000000000 +1000
+++ power3-2.5/include/asm-ppc/spinlock.h 2004-06-04 09:30:09.000000000 +1000
@@ -140,7 +140,7 @@
unsigned int tmp;
__asm__ __volatile__(
-"2: lwarx %0,0,%1\n\ # write_trylock\n\
+"2: lwarx %0,0,%1 # write_trylock\n\
cmpwi 0,%0,0\n\
bne- 1f\n"
PPC405_ERR77(0,%1)
reply other threads:[~2004-06-04 23:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=16577.172.594575.31066@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=akpm@osdl.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=trini@kernel.crashing.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
all inboxes | Powered by JetHome®