aboutsummaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/percpu.c')
-rw-r--r--mm/percpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 014bab65e0ff..d39e2f4e335c 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1591,7 +1591,7 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
1591 if (cpu == NR_CPUS) 1591 if (cpu == NR_CPUS)
1592 continue; 1592 continue;
1593 1593
1594 PCPU_SETUP_BUG_ON(cpu > nr_cpu_ids); 1594 PCPU_SETUP_BUG_ON(cpu >= nr_cpu_ids);
1595 PCPU_SETUP_BUG_ON(!cpu_possible(cpu)); 1595 PCPU_SETUP_BUG_ON(!cpu_possible(cpu));
1596 PCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX); 1596 PCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX);
1597 1597