diff for duplicates of <20070912015647.758716998@sgi.com> diff --git a/a/1.txt b/N1/1.txt index 9ff8ecb..54170cd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,11 +17,9 @@ Signed-off-by: Mike Travis <travis@sgi.com> cpumask_t cpu_possible_map __read_mostly = CPU_MASK_NONE; cpumask_t cpu_online_map __read_mostly = CPU_MASK_NONE; --cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly = -- { [0 ... NR_CPUS-1] = CPU_MASK_NONE }; +-cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly - { [0 ... NR_CPUS-1] = CPU_MASK_NONE }; +DEFINE_PER_CPU(cpumask_t, cpu_sibling_map) = CPU_MASK_NONE; - cpumask_t cpu_core_map[NR_CPUS] __read_mostly = - { [0 ... NR_CPUS-1] = CPU_MASK_NONE }; + cpumask_t cpu_core_map[NR_CPUS] __read_mostly { [0 ... NR_CPUS-1] = CPU_MASK_NONE }; EXPORT_SYMBOL(cpu_possible_map); EXPORT_SYMBOL(cpu_online_map); @@ -36,14 +34,14 @@ Signed-off-by: Mike Travis <travis@sgi.com> - cpus_clear(cpu_sibling_map[i]); + cpus_clear(per_cpu(cpu_sibling_map, i)); - if (cpu_data(i).proc_id == -1) { + if (cpu_data(i).proc_id = -1) { - cpu_set(i, cpu_sibling_map[i]); + cpu_set(i, per_cpu(cpu_sibling_map, i)); continue; } for_each_present_cpu(j) { - if (cpu_data(i).proc_id == + if (cpu_data(i).proc_id = cpu_data(j).proc_id) - cpu_set(j, cpu_sibling_map[i]); + cpu_set(j, per_cpu(cpu_sibling_map, i)); diff --git a/a/content_digest b/N1/content_digest index 843837e..bd5848e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,14 +1,14 @@ "ref\020070912015644.927677070@sgi.com\0" "From\0travis@sgi.com\0" "Subject\0[PATCH 10/10] sparc64: Convert cpu_sibling_map to a per_cpu data array (v3)\0" - "Date\0Tue, 11 Sep 2007 18:56:54 -0700\0" + "Date\0Wed, 12 Sep 2007 01:56:54 +0000\0" "To\0Andrew Morton <akpm@linux-foundation.org>\0" - "Cc\0linux-mm@kvack.org" - Andi Kleen <ak@suse.de> + "Cc\0Andi Kleen <ak@suse.de>" + Christoph Lameter <clameter@sgi.com> + linux-mm@kvack.org linux-kernel@vger.kernel.org linuxppc-dev@ozlabs.org - sparclinux@vger.kernel.org - " Christoph Lameter <clameter@sgi.com>\0" + " sparclinux@vger.kernel.org\0" "\00:1\0" "b\0" "Convert cpu_sibling_map to a per_cpu cpumask_t array for the sparc64\n" @@ -30,11 +30,9 @@ " \n" " cpumask_t cpu_possible_map __read_mostly = CPU_MASK_NONE;\n" " cpumask_t cpu_online_map __read_mostly = CPU_MASK_NONE;\n" - "-cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly =\n" - "-\t{ [0 ... NR_CPUS-1] = CPU_MASK_NONE };\n" + "-cpumask_t cpu_sibling_map[NR_CPUS] __read_mostly -\t{ [0 ... NR_CPUS-1] = CPU_MASK_NONE };\n" "+DEFINE_PER_CPU(cpumask_t, cpu_sibling_map) = CPU_MASK_NONE;\n" - " cpumask_t cpu_core_map[NR_CPUS] __read_mostly =\n" - " \t{ [0 ... NR_CPUS-1] = CPU_MASK_NONE };\n" + " cpumask_t cpu_core_map[NR_CPUS] __read_mostly \t{ [0 ... NR_CPUS-1] = CPU_MASK_NONE };\n" " \n" " EXPORT_SYMBOL(cpu_possible_map);\n" " EXPORT_SYMBOL(cpu_online_map);\n" @@ -49,14 +47,14 @@ " \n" "-\t\tcpus_clear(cpu_sibling_map[i]);\n" "+\t\tcpus_clear(per_cpu(cpu_sibling_map, i));\n" - " \t\tif (cpu_data(i).proc_id == -1) {\n" + " \t\tif (cpu_data(i).proc_id = -1) {\n" "-\t\t\tcpu_set(i, cpu_sibling_map[i]);\n" "+\t\t\tcpu_set(i, per_cpu(cpu_sibling_map, i));\n" " \t\t\tcontinue;\n" " \t\t}\n" " \n" " \t\tfor_each_present_cpu(j) {\n" - " \t\t\tif (cpu_data(i).proc_id ==\n" + " \t\t\tif (cpu_data(i).proc_id =\n" " \t\t\t cpu_data(j).proc_id)\n" "-\t\t\t\tcpu_set(j, cpu_sibling_map[i]);\n" "+\t\t\t\tcpu_set(j, per_cpu(cpu_sibling_map, i));\n" @@ -103,4 +101,4 @@ "\n" -- -92ac3903c020fb282e94ccb9a04db315ad6e2d5d06f9d099236f020f7f20577a +9e88719645288c5adb70191322307ff490718ae40b7a0d642a5ac5a386260f5d
diff --git a/a/content_digest b/N2/content_digest index 843837e..a11536b 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -3,13 +3,14 @@ "Subject\0[PATCH 10/10] sparc64: Convert cpu_sibling_map to a per_cpu data array (v3)\0" "Date\0Tue, 11 Sep 2007 18:56:54 -0700\0" "To\0Andrew Morton <akpm@linux-foundation.org>\0" - "Cc\0linux-mm@kvack.org" - Andi Kleen <ak@suse.de> + "Cc\0Andi Kleen <ak@suse.de>" + Christoph Lameter <clameter@sgi.com> + linux-mm@kvack.org linux-kernel@vger.kernel.org linuxppc-dev@ozlabs.org - sparclinux@vger.kernel.org - " Christoph Lameter <clameter@sgi.com>\0" + " sparclinux@vger.kernel.org\0" "\00:1\0" + "fn\0convert-sparc64-cpu_sibling_map-to-per_cpu_data\0" "b\0" "Convert cpu_sibling_map to a per_cpu cpumask_t array for the sparc64\n" "architecture. This fixes build errors in block/blktrace.c and\n" @@ -103,4 +104,4 @@ "\n" -- -92ac3903c020fb282e94ccb9a04db315ad6e2d5d06f9d099236f020f7f20577a +ca0c1d7a2291c7afe472795e30d73368459754da9dc3485ced8edb120dc44e00
diff --git a/a/1.txt b/N3/1.txt index 9ff8ecb..7514222 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -88,4 +88,10 @@ Signed-off-by: Mike Travis <travis@sgi.com> #define smt_capable() (sparc64_multi_core) #endif /* CONFIG_SMP */ +-- + -- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N3/content_digest index 843837e..6743b19 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -3,13 +3,14 @@ "Subject\0[PATCH 10/10] sparc64: Convert cpu_sibling_map to a per_cpu data array (v3)\0" "Date\0Tue, 11 Sep 2007 18:56:54 -0700\0" "To\0Andrew Morton <akpm@linux-foundation.org>\0" - "Cc\0linux-mm@kvack.org" - Andi Kleen <ak@suse.de> + "Cc\0Andi Kleen <ak@suse.de>" + Christoph Lameter <clameter@sgi.com> + linux-mm@kvack.org linux-kernel@vger.kernel.org linuxppc-dev@ozlabs.org - sparclinux@vger.kernel.org - " Christoph Lameter <clameter@sgi.com>\0" + " sparclinux@vger.kernel.org\0" "\00:1\0" + "fn\0convert-sparc64-cpu_sibling_map-to-per_cpu_data\0" "b\0" "Convert cpu_sibling_map to a per_cpu cpumask_t array for the sparc64\n" "architecture. This fixes build errors in block/blktrace.c and\n" @@ -101,6 +102,12 @@ " #define smt_capable()\t\t\t\t(sparc64_multi_core)\n" " #endif /* CONFIG_SMP */\n" "\n" - -- + "-- \n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -92ac3903c020fb282e94ccb9a04db315ad6e2d5d06f9d099236f020f7f20577a +f2018b98932865e833c5949602e5caadf9b5733678bf316637ee967589cc1da6
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.