Skip to contentSkip to conversation

linux-user: fix comment s/atomic_write/atomic_set/

PATCH Applied Emilio G. Cota 2 participants 2 messages Aug 11, 2018 – Oct 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: fix comment s/atomic_write/atomic_set/

---
 linux-user/qemu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/qemu.h +1 -1
index b4959e41c6..e6a8bc5867 100644
@@ -143,7 +143,7 @@ typedef struct TaskState {
     /* Nonzero if process_pending_signals() needs to do something (either
      * handle a pending signal or unblock signals).
      * This flag is written from a signal handler so should be accessed via
-     * the atomic_read() and atomic_write() functions. (It is not accessed
+     * the atomic_read() and atomic_set() functions. (It is not accessed
      * from multiple threads.)
      */
     int signal_pending;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 11 lines · Emilio G. Cota
---
 linux-user/qemu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/qemu.h +0 -0
index b4959e41c6..e6a8bc5867 100644

linux-user/qemu.h typedef struct TaskState { · line 149

Quoted 8 lines
linux-user/qemu.h +1 -1
@@ -143,7 +143,7 @@ typedef struct TaskState {
     /* Nonzero if process_pending_signals() needs to do something (either
      * handle a pending signal or unblock signals).
      * This flag is written from a signal handler so should be accessed via
-     * the atomic_read() and atomic_write() functions. (It is not accessed
+     * the atomic_read() and atomic_set() functions. (It is not accessed
      * from multiple threads.)
      */
     int signal_pending;

Applied

Thanks,
Laurent