On Aug 28 2018, Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote: > diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c > index 6a501b25dd85..57d09d5ceb1a 100644 > --- a/arch/powerpc/kernel/setup_64.c > +++ b/arch/powerpc/kernel/setup_64.c > @@ -779,7 +779,6 @@ EXPORT_SYMBOL(__per_cpu_offset); > > void __init setup_per_cpu_areas(void) > { > - const size_t dyn_size = PERCPU_MODULE_RESERVE + PERCPU_DYNAMIC_RESERVE; > size_t atom_size; > unsigned long delta; > unsigned int cpu; > @@ -795,7 +794,9 @@ void __init setup_per_cpu_areas(void) > else > atom_size = 1 << 20; > > - rc = pcpu_embed_first_chunk(0, dyn_size, atom_size, pcpu_cpu_distance, > + rc = pcpu_embed_first_chunk(PERCPU_MODULE_RESERVE, > + PERCPU_DYNAMIC_RESERVE, > + atom_size, pcpu_cpu_distance, > pcpu_fc_alloc, pcpu_fc_free); > if (rc < 0) > panic("cannot initialize percpu area (err=%d)", rc); That didn't help. Andreas. -- Andreas Schwab, schwab@xxxxxxxxxxxxxx GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."