On Tue, Aug 02 2016, Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 00:44 +0200, Michal Sojka wrote: >> Hi Benjamin, >> >> the following commit causes my MPC5200 not to boot. >> >> commit 9402c684613163888714df0955fa1f17142b08bf > > Does this fixes it for you ?
Yes, it does. Thanks. -Michal > diff --git a/arch/powerpc/lib/feature-fixups.c > b/arch/powerpc/lib/feature-fixups.c > index defb299..fd36e13 100644 > --- a/arch/powerpc/lib/feature-fixups.c > +++ b/arch/powerpc/lib/feature-fixups.c > @@ -154,7 +154,7 @@ static void do_final_fixups(void) > > void apply_feature_fixups(void) > { > - struct cpu_spec *spec = *PTRRELOC(&cur_cpu_spec); > + struct cpu_spec *spec = PTRRELOC(*PTRRELOC(&cur_cpu_spec)); > > /* > * Apply the CPU-specific and firmware specific fixups to kernel text _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev