From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: Re: [RESEND PATCH] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch Date: Wed, 9 Jan 2013 19:44:35 +0530 Message-ID: <50ED7B4B.7080603@synopsys.com> References: <50D2B75A.3000208@synopsys.com> <1357195653-998-1-git-send-email-vgupta@synopsys.com> <1357195653-998-2-git-send-email-vgupta@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from us01smtp2.synopsys.com ([198.182.44.80]:43442 "EHLO kiruna.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757667Ab3AIORL (ORCPT ); Wed, 9 Jan 2013 09:17:11 -0500 In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Tony Luck Cc: Fenghua Yu , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, "Eric W. Biederman" , Serge Hallyn On Wednesday 09 January 2013 05:13 AM, Tony Luck wrote: > On Wed, Jan 2, 2013 at 10:47 PM, Vineet Gupta > 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