[PATCH v2] powerpc/powernv: Initialise nest mmu

Alistair Popple alistair at popple.id.au
Sat Dec 3 11:08:51 AEDT 2016


On Fri, 2 Dec 2016 08:24:09 PM Michael Ellerman wrote:
> Alistair Popple <alistair at popple.id.au> writes:
> 
> > diff --git a/arch/powerpc/platforms/powernv/powernv.h b/arch/powerpc/platforms/powernv/powernv.h
> > index da7c843..6fa9551 100644
> > --- a/arch/powerpc/platforms/powernv/powernv.h
> > +++ b/arch/powerpc/platforms/powernv/powernv.h
> > @@ -9,6 +9,12 @@ static inline void pnv_smp_init(void) { }
> >  
> >  struct pci_dev;
> >  
> > +#ifdef CONFIG_PPC_POWERNV
> > +extern void powernv_set_ptcr(unsigned long ptcr);
> > +#else
> > +static inline void powernv_set_ptcr(unisigned long ptcr) { }
>                                          ^
>                                          Your shout next time we're at the pub ;)

Whoops. Guess I was too keen to get there myself. Thanks for picking that up!

> cheers



More information about the Linuxppc-dev mailing list