patch-2.4.0-test12 linux/include/asm-m68k/bitops.h
Next file: linux/include/asm-m68k/entry.h
Previous file: linux/include/asm-m68k/atarihw.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Nov 27 18:00:49 2000
- Orig file:
v2.4.0-test11/linux/include/asm-m68k/bitops.h
- Orig date:
Wed Jul 5 22:15:26 2000
diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-m68k/bitops.h linux/include/asm-m68k/bitops.h
@@ -83,6 +83,12 @@
return retval;
}
+/*
+ * clear_bit() doesn't provide any barrier for the compiler.
+ */
+#define smp_mb__before_clear_bit() barrier()
+#define smp_mb__after_clear_bit() barrier()
+
#define clear_bit(nr,vaddr) \
(__builtin_constant_p(nr) ? \
__constant_clear_bit(nr, vaddr) : \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)