[PATCH V3 2/2] powerpc/pseries: init fault_around_order for pseries
Rusty Russell
rusty at rustcorp.com.au
Tue Apr 29 12:18:40 EST 2014
Madhavan Srinivasan <maddy at linux.vnet.ibm.com> writes:
> diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
> index 2db8cc6..c87e6b6 100644
> --- a/arch/powerpc/platforms/pseries/setup.c
> +++ b/arch/powerpc/platforms/pseries/setup.c
> @@ -74,6 +74,8 @@ int CMO_SecPSP = -1;
> unsigned long CMO_PageSize = (ASM_CONST(1) << IOMMU_PAGE_SHIFT_4K);
> EXPORT_SYMBOL(CMO_PageSize);
>
> +extern unsigned int fault_around_order;
> +
It's considered bad form to do this. Put the declaration in linux/mm.h.
Thanks,
Rusty.
PS. But we're getting there! :)
More information about the Linuxppc-dev
mailing list