mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][PPC32] Fix typo in ppc32 spinlock.h
@ 2004-06-04 23:07 Paul Mackerras
  0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2004-06-04 23:07 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: linux-kernel, benh, trini

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-04 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-04 23:07 [PATCH][PPC32] Fix typo in ppc32 spinlock.h Paul Mackerras

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®