]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/memory-barriers.txt
documentation: move spidev_fdx example to its own source file
[linux-2.6-omap-h63xx.git] / Documentation / memory-barriers.txt
index 4e17beba237902908b33d38b764c285fec433724..e5a819a4f0c99588fecaef9f96632e5922b5c4b4 100644 (file)
@@ -430,8 +430,8 @@ There are certain things that the Linux kernel memory barriers do not guarantee:
 
        [*] For information on bus mastering DMA and coherency please read:
 
-           Documentation/pci.txt
-           Documentation/DMA-mapping.txt
+           Documentation/PCI/pci.txt
+           Documentation/PCI/PCI-DMA-mapping.txt
            Documentation/DMA-API.txt
 
 
@@ -1493,7 +1493,7 @@ explicit lock operations, described later).  These include:
        atomic_dec_and_test();
        atomic_sub_and_test();
        atomic_add_negative();
-       atomic_add_unless();
+       atomic_add_unless();    /* when succeeds (returns 1) */
        test_and_set_bit();
        test_and_clear_bit();
        test_and_change_bit();