All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1253682382-24740-5-git-send-email-tj@kernel.org>

diff --git a/a/1.txt b/N1/1.txt
index d09b860..a828e22 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -79,7 +79,7 @@ index 351da0a..54bf540 100644
  	 */
 -	for (cpu = 0; cpu < NR_CPUS; cpu++) {
 +	for_each_possible_cpu(cpu) {
- 		void *src = cpu = 0 ? cpu0_data : __phys_per_cpu_start;
+ 		void *src = cpu == 0 ? cpu0_data : __phys_per_cpu_start;
  
  		memcpy(cpu_data, src, __per_cpu_end - __per_cpu_start);
 @@ -196,9 +196,57 @@ skip:
@@ -185,7 +185,7 @@ index 200282b..40e4c1f 100644
 +	unit = 0;
 +	for_each_node(node)
 +		for_each_possible_cpu(cpu)
-+			if (node = node_cpuid[cpu].nid)
++			if (node == node_cpuid[cpu].nid)
 +				cpu_map[unit++] = cpu;
 +	nr_units = unit;
 +
@@ -214,7 +214,7 @@ index 200282b..40e4c1f 100644
 +		cpu = cpu_map[unit];
 +		node = node_cpuid[cpu].nid;
 +
-+		if (node = prev_node) {
++		if (node == prev_node) {
 +			gi->nr_units++;
 +			continue;
 +		}
diff --git a/a/content_digest b/N1/content_digest
index 924a94c..dfedebf 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01253682382-24740-1-git-send-email-tj@kernel.org\0"
  "From\0Tejun Heo <tj@kernel.org>\0"
  "Subject\0[PATCH 4/5] ia64: convert to dynamic percpu allocator\0"
- "Date\0Wed, 23 Sep 2009 05:06:21 +0000\0"
+ "Date\0Wed, 23 Sep 2009 14:06:21 +0900\0"
  "To\0Nick Piggin <npiggin@suse.de>"
   Tony Luck <tony.luck@intel.com>
   Fenghua Yu <fenghua.yu@intel.com>
@@ -97,7 +97,7 @@
  " \t */\n"
  "-\tfor (cpu = 0; cpu < NR_CPUS; cpu++) {\n"
  "+\tfor_each_possible_cpu(cpu) {\n"
- " \t\tvoid *src = cpu = 0 ? cpu0_data : __phys_per_cpu_start;\n"
+ " \t\tvoid *src = cpu == 0 ? cpu0_data : __phys_per_cpu_start;\n"
  " \n"
  " \t\tmemcpy(cpu_data, src, __per_cpu_end - __per_cpu_start);\n"
  "@@ -196,9 +196,57 @@ skip:\n"
@@ -203,7 +203,7 @@
  "+\tunit = 0;\n"
  "+\tfor_each_node(node)\n"
  "+\t\tfor_each_possible_cpu(cpu)\n"
- "+\t\t\tif (node = node_cpuid[cpu].nid)\n"
+ "+\t\t\tif (node == node_cpuid[cpu].nid)\n"
  "+\t\t\t\tcpu_map[unit++] = cpu;\n"
  "+\tnr_units = unit;\n"
  "+\n"
@@ -232,7 +232,7 @@
  "+\t\tcpu = cpu_map[unit];\n"
  "+\t\tnode = node_cpuid[cpu].nid;\n"
  "+\n"
- "+\t\tif (node = prev_node) {\n"
+ "+\t\tif (node == prev_node) {\n"
  "+\t\t\tgi->nr_units++;\n"
  "+\t\t\tcontinue;\n"
  "+\t\t}\n"
@@ -258,4 +258,4 @@
  "-- \n"
  1.6.4.2
 
-cb2dfbc6cb64961f6f135f573b7226910729556b8544daaf10447b29c76fae59
+a34c13d95dcd24a3d36925d97fc435cee667e033d4702be1a25d2ead1125b06f

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.