diff for duplicates of <1471492750.2138.5.camel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index a07acf2..f7d4081 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -26,7 +26,7 @@ On Wed, 2016-08-17 at 09:44 +0200, Thomas Huth wrote: > > - start_cpu returns number of threads on cpu and number > > successfully > > started -> > - start_all_cpus checks if number of threads started = total +> > - start_all_cpus checks if number of threads started == total > > number of > > threads - 1 > > V3 -> V4: @@ -216,11 +216,11 @@ Ok > > + int ret; > > + > > + ret = dt_for_each_cpu_node(start_each_secondary, &data); -> > + assert(ret = 0); +> > + assert(ret == 0); > > + > > + /* We expect that we come in with one thread already > > started */ -> > + return data.nr_started = nr_threads - 1; +> > + return data.nr_started == nr_threads - 1; > > +} > > diff --git a/lib/ppc64/asm/smp.h b/lib/ppc64/asm/smp.h > > new file mode 100644 diff --git a/a/content_digest b/N1/content_digest index 975408f..7c47e2e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0568b1de9-c1dc-050b-3acf-b86159cbb3f4@redhat.com\0" "From\0Suraj Jitindar Singh <sjitindarsingh@gmail.com>\0" "Subject\0Re: [kvm-unit-tests PATCH V4 3/5] lib/powerpc: Add function to start secondary threads\0" - "Date\0Thu, 18 Aug 2016 03:59:10 +0000\0" + "Date\0Thu, 18 Aug 2016 13:59:10 +1000\0" "To\0Thomas Huth <thuth@redhat.com>" " kvm@vger.kernel.org\0" "Cc\0pbonzini@redhat.com" @@ -41,7 +41,7 @@ "> > \t- start_cpu returns number of threads on cpu and number\n" "> > successfully\n" "> > \t\302\240\302\240started\n" - "> > \t- start_all_cpus checks if number of threads started = total\n" + "> > \t- start_all_cpus checks if number of threads started == total\n" "> > number of\n" "> > \t\302\240\302\240threads - 1\n" "> > V3 -> V4:\n" @@ -231,11 +231,11 @@ "> > +\tint ret;\n" "> > +\n" "> > +\tret = dt_for_each_cpu_node(start_each_secondary, &data);\n" - "> > +\tassert(ret = 0);\n" + "> > +\tassert(ret == 0);\n" "> > +\n" "> > +\t/* We expect that we come in with one thread already\n" "> > started */\n" - "> > +\treturn data.nr_started = nr_threads - 1;\n" + "> > +\treturn data.nr_started == nr_threads - 1;\n" "> > +}\n" "> > diff --git a/lib/ppc64/asm/smp.h b/lib/ppc64/asm/smp.h\n" "> > new file mode 100644\n" @@ -265,4 +265,4 @@ "> \n" Thanks -3f78c695531b7fbc9529170b48fd068f6d18329aa2642897a7fa9b50bcb9dd80 +2ec75b13c6fd3455e9dfd815842bc129948c8ea13ff0006d90c5c49b4776e13a
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.