瀏覽代碼

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

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>
Emilio G. Cota 7 年之前
父節點
當前提交
83f164bd5a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      linux-user/qemu.h

+ 1 - 1
linux-user/qemu.h

@@ -143,7 +143,7 @@ typedef struct TaskState {
     /* Nonzero if process_pending_signals() needs to do something (either
     /* Nonzero if process_pending_signals() needs to do something (either
      * handle a pending signal or unblock signals).
      * handle a pending signal or unblock signals).
      * This flag is written from a signal handler so should be accessed via
      * 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.)
      * from multiple threads.)
      */
      */
     int signal_pending;
     int signal_pending;