Skip to content

Commit e1900a1

Browse files
paulusmackLinus Torvalds
authored andcommitted
[PATCH] ppc32: Fix typo in ppc32 spinlock.h
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> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent f29145e commit e1900a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/asm-ppc/spinlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static __inline__ int _raw_write_trylock(rwlock_t *rw)
140140
unsigned int tmp;
141141

142142
__asm__ __volatile__(
143-
"2: lwarx %0,0,%1\n\ # write_trylock\n\
143+
"2: lwarx %0,0,%1 # write_trylock\n\
144144
cmpwi 0,%0,0\n\
145145
bne- 1f\n"
146146
PPC405_ERR77(0,%1)

0 commit comments

Comments
 (0)