On 12/02/2016 01:24 AM, Michael Ellerman wrote: > Alistair Popple <alist...@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