Messages in this thread Patch in this message | | | Date | Wed, 19 Nov 2003 14:30:00 -0800 | From | Andrew Morton <> | Subject | Re: error in Sparc64 rwlock.S |
| |
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: _
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |