From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Date: Thu, 03 Jan 2013 06:59:32 +0000 Subject: [RESEND PATCH] Convert IA64 sysctl to generic Message-Id: <1357195653-998-1-git-send-email-vgupta@synopsys.com> List-Id: References: <50D2B75A.3000208@synopsys.com> In-Reply-To: <50D2B75A.3000208@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tony Luck , Fenghua Yu Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, Vineet Gupta Hi, This came out ARC Port's review by Arnd where he suggested using the existing sysctl knobs in parisc and/or ia64 for runtime controlling unaligned access emulation. Turns out that ARC port needs bit of both. The common sysctl knobs are now #ifdef based on init/Kconfig options which the corresponding arches now select in their Kconfigs. No other arch code is touched (although code has not been compile tested). If this patch is ACKable, I would request you to please take this patch via your arch tree - to avoid any merge-hassles and other interdependencies later. P.S. I've deliberately NOT added the new items at the end of arch/*/Kconfig, to avoid any merge conflicts going further - anyhow both the ia64/parisc Kconfigs are not sorted either. Thx, -Vineet Vineet Gupta (1): sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch arch/ia64/Kconfig | 1 + init/Kconfig | 8 ++++++++ kernel/sysctl.c | 9 +++++++-- 3 files changed, 16 insertions(+), 2 deletions(-) -- 1.7.4.1