atomic.h patch

Mark A. Greer mgreer at mvista.com
Sat Feb 8 09:16:06 EST 2003


Ah, linuxppc_2_4_devel tree.
--

Mark A. Greer wrote:

>
> Would someone please apply the following patch to atomic.h?
>
> Thanks,
>
> Mark
> --
>
> ===== atomic.h 1.22 vs edited =====
> --- 1.22/include/asm-ppc/atomic.h       Tue Jan  8 03:01:36 2002
> +++ edited/atomic.h     Fri Feb  7 15:05:27 2003
> @@ -18,6 +18,7 @@
> #define atomic_set(v,i)                (((v)->counter) = (i))
>
> extern void atomic_clear_mask(unsigned long mask, unsigned long *addr);
> +extern void atomic_set_mask(unsigned long mask, unsigned long *addr);
>
> #ifdef CONFIG_SMP
> #define SMP_ISYNC      "\n\tisync"
>
>
>
>
>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list