Skip to contentSkip to conversation

atomic.h patch

PATCH Mark A. Greer 1 participant 2 messages Feb 7, 2003 Atomic infrastructure

lore
Share & tools
lore
#0 lore raw

Would someone please apply the following patch to atomic.h?

Thanks,

Mark
--

===== atomic.h 1.22 vs edited =====

atomic.h Fri Feb 7 15:05:27 2003 renamed from include/asm-ppc/atomic.h Tue Jan 8 03:01:36 2002 +0 -0
@@ -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/

#1 lore raw

Ah, linuxppc_2_4_devel tree.
--

Quoted 17 lines · Mark A. Greer

Would someone please apply the following patch to atomic.h?

Thanks,

Mark
--

===== atomic.h 1.22 vs edited =====

atomic.h Fri Feb 7 15:05:27 2003 line 24

Quoted 7 lines
atomic.h Fri Feb 7 15:05:27 2003 renamed from include/asm-ppc/atomic.h Tue Jan 8 03:01:36 2002 +1 -0
@@ -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/