We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525d651 commit a570e68Copy full SHA for a570e68
arch/ia64/kernel/smpboot.c
@@ -576,17 +576,13 @@ clear_cpu_sibling_map(int cpu)
576
static void
577
remove_siblinginfo(int cpu)
578
{
579
- int last = 0;
580
-
581
if (cpu_data(cpu)->threads_per_core == 1 &&
582
cpu_data(cpu)->cores_per_socket == 1) {
583
cpumask_clear_cpu(cpu, &cpu_core_map[cpu]);
584
cpumask_clear_cpu(cpu, &per_cpu(cpu_sibling_map, cpu));
585
return;
586
}
587
588
- last = (cpumask_weight(&cpu_core_map[cpu]) == 1 ? 1 : 0);
589
590
/* remove it from all sibling map's */
591
clear_cpu_sibling_map(cpu);
592
0 commit comments