All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4F356FA6.4000104@redhat.com>

diff --git a/a/1.txt b/N1/1.txt
index 0cf7f2b..46e42fd 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,7 +1,7 @@
 On 02/03/2012 12:00 PM, Linus Torvalds wrote:
 >    do {
 >      load-link %r,%m
->      if (r = value)
+>      if (r == value)
 >          return 0;
 >      add
 >    } while (store-conditional %r,%m)
@@ -46,7 +46,7 @@ So that loop above becomes the familiar expression as for CAS:
 
   r = *m;
   do {
-    if (r = value)
+    if (r == value)
       return;
     n = r + inc;
   } while (!atomic_compare_exchange(m, &r, n, /*weak=*/true,
diff --git a/a/content_digest b/N1/content_digest
index ea96e78..9e0b198 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -15,7 +15,7 @@
  "ref\0CA+55aFxoW0zexd4Zy33gToK9V0UU6wbQFFogEyFPPiGuNq2GGQ@mail.gmail.com\0"
  "From\0Richard Henderson <rth@redhat.com>\0"
  "Subject\0Re: Memory corruption due to word sharing\0"
- "Date\0Fri, 10 Feb 2012 19:27:34 +0000\0"
+ "Date\0Fri, 10 Feb 2012 11:27:34 -0800\0"
  "To\0Linus Torvalds <torvalds@linux-foundation.org>\0"
  "Cc\0Andrew MacLeod <amacleod@redhat.com>"
   paulmck@linux.vnet.ibm.com
@@ -32,7 +32,7 @@
  "On 02/03/2012 12:00 PM, Linus Torvalds wrote:\n"
  ">    do {\n"
  ">      load-link %r,%m\n"
- ">      if (r = value)\n"
+ ">      if (r == value)\n"
  ">          return 0;\n"
  ">      add\n"
  ">    } while (store-conditional %r,%m)\n"
@@ -77,7 +77,7 @@
  "\n"
  "  r = *m;\n"
  "  do {\n"
- "    if (r = value)\n"
+ "    if (r == value)\n"
  "      return;\n"
  "    n = r + inc;\n"
  "  } while (!atomic_compare_exchange(m, &r, n, /*weak=*/true,\n"
@@ -97,4 +97,4 @@
  "\n"
  r~
 
-6c6b3643254fbee7407cc8d9dc7c3f7f75da57fddf6613a508250565a512402c
+31b1792452a44620557a21081e6939634aa92248a22b8faa56edc2a2fe383235

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.