[PATCH v2] powerpc/powernv: Initialise nest mmu

Tyrel Datwyler tyreld at linux.vnet.ibm.com
Sat Dec 3 12:33:30 AEDT 2016


On 12/02/2016 01:24 AM, 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 ;)
> 
> cheers
> 

Ah, the elusive unicorn of signed longs!

-Tyrel



More information about the Linuxppc-dev mailing list