diff for duplicates of <1253605214-23210-4-git-send-email-tj@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 96dce4c..445fd59 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -79,7 +79,7 @@ index 9493bbf..c86ce4f 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,49 @@ skip: @@ -177,7 +177,7 @@ index 35a61ec..69e9e91 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; + @@ -206,7 +206,7 @@ index 35a61ec..69e9e91 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 c51fd05..3394001 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01253605214-23210-1-git-send-email-tj@kernel.org\0" "From\0Tejun Heo <tj@kernel.org>\0" "Subject\0[PATCH 3/4] ia64: convert to dynamic percpu allocator\0" - "Date\0Tue, 22 Sep 2009 07:40:13 +0000\0" + "Date\0Tue, 22 Sep 2009 16:40:13 +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,49 @@ skip:\n" @@ -195,7 +195,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" @@ -224,7 +224,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" @@ -250,4 +250,4 @@ "-- \n" 1.6.4.2 -ae2f4596a3b7da92729f1c1451da159cd5af244c99c66a3150b413a8f7051a72 +444d8ca4a4fc35f50b0053c523d673fb5c57c72370ae6f7d074a38ec151f0f47
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.