Re: [patch 3/5] atomic: atomic_inc_not_zero

From: Nick Piggin
Date: Tue Nov 15 2005 - 03:55:05 EST


Andrew Morton wrote:
Paul Jackson <pj@xxxxxxx> wrote:

Please send patch.

I can't. I don't understand what Nick intends here.
If it's obvious to you, hit me with a clue stick,
and I'd be glad to patch it.



This, I assume?


Yes. Doh. Thanks.

--- 25/arch/sparc/lib/atomic32.c~sparc32-atomic32-build-fix Mon Nov 14 15:08:44 2005
+++ 25-akpm/arch/sparc/lib/atomic32.c Mon Nov 14 15:08:48 2005
@@ -66,7 +66,6 @@ int atomic_add_unless(atomic_t *v, int a
return ret != u;
}
-static inline void atomic_clear_mask(unsigned long mask, unsigned long *addr)
/* Atomic operations are already serializing */
void atomic_set(atomic_t *v, int i)
{
_



--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/