Re: [PATCH V4 2/2] powerpc/pseries: init fault_around_order for pseries

From: Madhavan Srinivasan
Date: Tue May 20 2014 - 04:04:23 EST


On Tuesday 20 May 2014 12:58 PM, Andrew Morton wrote:
> On Thu, 8 May 2014 14:58:16 +0530 Madhavan Srinivasan <maddy@xxxxxxxxxxxxxxxxxx> wrote:
>
>> --- a/arch/powerpc/platforms/pseries/pseries.h
>> +++ b/arch/powerpc/platforms/pseries/pseries.h
>> @@ -17,6 +17,8 @@ struct device_node;
>> extern void request_event_sources_irqs(struct device_node *np,
>> irq_handler_t handler, const char *name);
>>
>> +extern unsigned int fault_around_order;
>
> This isn't an appropriate header file for exporting something from core
> mm - what happens if arch/mn10300 wants it?.
>
> I guess include/linux/mm.h is the place.
>

Rusty already suggested this. My bad. Reason for adding it here was
that, I did the performance test for this platform. Will change and send
it out.

Thanks for review
Regards
Maddy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/