Skip to content

Commit 57aebd7

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: percpu: fix pcpu_last_unit_cpu
2 parents 561f818 + 46b30ea commit 57aebd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/percpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,9 +1401,9 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
14011401

14021402
if (pcpu_first_unit_cpu == NR_CPUS)
14031403
pcpu_first_unit_cpu = cpu;
1404+
pcpu_last_unit_cpu = cpu;
14041405
}
14051406
}
1406-
pcpu_last_unit_cpu = cpu;
14071407
pcpu_nr_units = unit;
14081408

14091409
for_each_possible_cpu(cpu)

0 commit comments

Comments
 (0)