patch-1.3.78 linux/include/asm-alpha/atomic.h

Next file: linux/include/asm-alpha/ioctl.h
Previous file: linux/include/asm-alpha/apecs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/include/asm-alpha/atomic.h linux/include/asm-alpha/atomic.h
@@ -1,9 +1,12 @@
-#ifndef __ARCH_I386_ATOMIC__
-#define __ARCH_I386_ATOMIC__
+#ifndef __ARCH_ALPHA_ATOMIC__
+#define __ARCH_ALPHA_ATOMIC__
 
 /*
  * Atomic operations that C can't guarantee us.  Useful for
- * resource counting etc..
+ * resource counting etc...
+ *
+ * But use these as seldom as possible since they are much more slower
+ * than regular operations.
  */
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this