From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: [RESEND PATCH] Convert PARISC sysctl to be generic Date: Thu, 3 Jan 2013 12:29:47 +0530 Message-ID: <1357196388-1247-1-git-send-email-vgupta@synopsys.com> References: <50D2B75A.3000208@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from alvesta.synopsys.com ([198.182.60.77]:44881 "EHLO alvesta.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751365Ab3ACHAX (ORCPT ); Thu, 3 Jan 2013 02:00:23 -0500 In-Reply-To: <50D2B75A.3000208@synopsys.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "James E.J. Bottomley" , Helge Deller Cc: linux-kernel@vger.kernel.org, linux-parisc@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 PARISC "unaligned-trap" to be used cross-arch arch/parisc/Kconfig | 1 + init/Kconfig | 8 ++++++++ kernel/sysctl.c | 7 ++++++- 3 files changed, 15 insertions(+), 1 deletions(-) -- 1.7.4.1