Skip to content

Commit

Permalink
docs: fix broken paths to docs/devel/atomics.txt
Browse files Browse the repository at this point in the history
With the move of some docs/ to docs/devel/ on ac06724,
a couple of references were not updated.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
philmd authored and Michael Tokarev committed Jul 31, 2017
1 parent b3125e7 commit b208ac0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/devel/lockcnt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/atomics.txt). This can be very helpful if concurrent access to
docs/devel/atomics.txt). This can be very helpful if concurrent access to
the data structure is expected to be rare.


Expand Down
4 changes: 2 additions & 2 deletions include/qemu/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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/atomics.txt for discussion about the guarantees each
* See docs/devel/atomics.txt for discussion about the guarantees each
* atomic primitive is meant to provide.
*/

Expand Down Expand Up @@ -427,7 +427,7 @@
* sequentially consistent operations.
*
* As long as they are used as paired operations they are safe to
* use. See docs/atomic.txt for more discussion.
* use. See docs/devel/atomics.txt for more discussion.
*/

#ifndef atomic_mb_read
Expand Down
2 changes: 1 addition & 1 deletion tcg/README
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ when MTTCG is enabled.
The guest translators should generate this opcode for all guest instructions
which have ordering side effects.

Please see docs/atomics.txt for more information on memory barriers.
Please see docs/devel/atomics.txt for more information on memory barriers.

********* 64-bit guest on 32-bit host support

Expand Down

0 comments on commit b208ac0

Please sign in to comment.