OSDN Git Service

linux-user: fix comment s/atomic_write/atomic_set/
authorEmilio G. Cota <cota@braap.org>
Sat, 11 Aug 2018 21:10:11 +0000 (17:10 -0400)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 26 Oct 2018 15:17:32 +0000 (17:17 +0200)
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20180811211011.6277-1-cota@braap.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/qemu.h

index 1beb6a2..dde3f26 100644 (file)
@@ -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;