Re: [patch 3/5] atomic: atomic_inc_not_zero

From: Andrew Morton
Date: Mon Nov 14 2005 - 18:09:11 EST


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?

--- 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)
{
_

-
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/