From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753120Ab3ACGs0 (ORCPT ); Thu, 3 Jan 2013 01:48:26 -0500 Received: from us02smtp2.synopsys.com ([198.182.60.77]:44695 "EHLO alvesta.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792Ab3ACGsO (ORCPT ); Thu, 3 Jan 2013 01:48:14 -0500 From: Vineet Gupta To: Tony Luck , Fenghua Yu CC: , , , , Vineet Gupta Subject: [RESEND PATCH] Convert IA64 sysctl to generic Date: Thu, 3 Jan 2013 12:17:32 +0530 Message-ID: <1357195653-998-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <50D2B75A.3000208@synopsys.com> References: <50D2B75A.3000208@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.12.197.205] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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