[PATCH v2] powerpc/powernv: Initialise nest mmu

Michael Ellerman mpe at ellerman.id.au
Fri Dec 2 20:24:09 AEDT 2016


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 ;)

cheers


More information about the Linuxppc-dev mailing list