]> git.proxmox.com Git - mirror_qemu.git/commitdiff
docs/atomics.txt: fix two typos
authorLaszlo Ersek <lersek@redhat.com>
Mon, 27 Apr 2015 11:32:35 +0000 (13:32 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Apr 2015 13:05:48 +0000 (16:05 +0300)
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
docs/atomics.txt

index 6f2997bc65f4f120125972945f40a885df8a2e7d..ef285e3c2a1c931e9eedc7e6f39a7922b0f33e78 100644 (file)
@@ -281,7 +281,7 @@ note that the other barrier may actually be in a driver that runs in
 the guest!
 
 For the purposes of pairing, smp_read_barrier_depends() and smp_rmb()
-both count as read barriers.  A read barriers shall pair with a write
+both count as read barriers.  A read barrier shall pair with a write
 barrier or a full barrier; a write barrier shall pair with a read
 barrier or a full barrier.  A full barrier can pair with anything.
 For example:
@@ -294,7 +294,7 @@ For example:
                              smp_rmb();
                              y = a;
 
-Note that the "writing" thread are accessing the variables in the
+Note that the "writing" thread is accessing the variables in the
 opposite order as the "reading" thread.  This is expected: stores
 before the write barrier will normally match the loads after the
 read barrier, and vice versa.  The same is true for more than 2