Re: [RESEND PATCH] sysctl: Enable IA64 "ignore-unaligned-usertrap"to be used cross-arch

From: Vineet Gupta
Date: Wed Jan 09 2013 - 09:16:58 EST


On Wednesday 09 January 2013 05:13 AM, Tony Luck wrote:
> On Wed, Jan 2, 2013 at 10:47 PM, Vineet Gupta
> <Vineet.Gupta1@xxxxxxxxxxxx> wrote:
>
>
>> +config SYSCTL_ARCH_UNALIGN_NO_WARN
>> + bool
>> + help
>> + Enable support for /proc/sys/kernel/ignore-unaligned-usertrap
>> + Allows arch to define/use @no_unaligned_warning to possbly warn about
> "possibly"
>> + unaligned access emulation going on under the hood.
>> + see arch/ia64/kernel/unaligned.c for reference
> It doesn't seem right to point users at an ia64 specific file now
> that you are making this available to all arches.

The ia64 "reference" is for how the sysctl knob is used - since all we are doing
is moving just the sysctl out of #ifdef ARCH_XYZ.
At any rate, I've removed the line from help. Revised patch to follow.
And as initially requested this will need to go thru IA64-next tree to avoid any
merge dependencies.

TIA,
-Vineet
--
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/