aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2021-05-17 17:16:59 +0200
committerThomas Huth <thuth@redhat.com>2021-06-02 06:51:09 +0200
commit29f2316761ef2c83581893bcffa43f11fba5b2fe (patch)
tree1737ed6e5b37afdf48cad9e928d247934506cbcf
parentd0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0 (diff)
downloadqemu-29f2316761ef2c83581893bcffa43f11fba5b2fe.zip
qemu-29f2316761ef2c83581893bcffa43f11fba5b2fe.tar.gz
qemu-29f2316761ef2c83581893bcffa43f11fba5b2fe.tar.bz2
docs: fix references to docs/devel/atomics.rst
Commit 15e8699f00 ("atomics: convert to reStructuredText") converted docs/devel/atomics.txt to docs/devel/atomics.rst. We still have several references to the old file, so let's fix them with the following command: sed -i s/atomics.txt/atomics.rst/ $(git grep -l docs/devel/atomics.txt) Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210517151702.109066-3-sgarzare@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--docs/devel/lockcnt.txt2
-rw-r--r--include/qemu/atomic.h4
-rw-r--r--include/qemu/atomic128.h2
-rw-r--r--tcg/README2
4 files changed, 5 insertions, 5 deletions
diff --git a/docs/devel/lockcnt.txt b/docs/devel/lockcnt.txt
index 2d85462..a3fb3bc 100644
--- a/docs/devel/lockcnt.txt
+++ b/docs/devel/lockcnt.txt
@@ -145,7 +145,7 @@ can also be more efficient in two ways:
- on some platforms, one can implement QemuLockCnt to hold the lock
and the mutex in a single word, making the fast path no more expensive
than simply managing a counter using atomic operations (see
- docs/devel/atomics.txt). This can be very helpful if concurrent access to
+ docs/devel/atomics.rst). This can be very helpful if concurrent access to
the data structure is expected to be rare.
diff --git a/include/qemu/atomic.h b/include/qemu/atomic.h
index 8f4b3a8..3ccf84f 100644
--- a/include/qemu/atomic.h
+++ b/include/qemu/atomic.h
@@ -8,7 +8,7 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
- * See docs/devel/atomics.txt for discussion about the guarantees each
+ * See docs/devel/atomics.rst for discussion about the guarantees each
* atomic primitive is meant to provide.
*/
@@ -432,7 +432,7 @@
* sequentially consistent operations.
*
* As long as they are used as paired operations they are safe to
- * use. See docs/devel/atomics.txt for more discussion.
+ * use. See docs/devel/atomics.rst for more discussion.
*/
#ifndef qatomic_mb_read
diff --git a/include/qemu/atomic128.h b/include/qemu/atomic128.h
index ad2bcf4..adb9a1a 100644
--- a/include/qemu/atomic128.h
+++ b/include/qemu/atomic128.h
@@ -6,7 +6,7 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
- * See docs/devel/atomics.txt for discussion about the guarantees each
+ * See docs/devel/atomics.rst for discussion about the guarantees each
* atomic primitive is meant to provide.
*/
diff --git a/tcg/README b/tcg/README
index 0cf9e27..8510d82 100644
--- a/tcg/README
+++ b/tcg/README
@@ -461,7 +461,7 @@ when MTTCG is enabled.
The guest translators should generate this opcode for all guest instructions
which have ordering side effects.
-Please see docs/devel/atomics.txt for more information on memory barriers.
+Please see docs/devel/atomics.rst for more information on memory barriers.
********* 64-bit guest on 32-bit host support