From patchwork Thu Apr 9 00:04:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Fong X-Patchwork-Id: 6183151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 22665BF4A6 for ; Thu, 9 Apr 2015 00:08:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 338052038F for ; Thu, 9 Apr 2015 00:08:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4F7CC2035E for ; Thu, 9 Apr 2015 00:08:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YfzzC-00013N-1L; Thu, 09 Apr 2015 00:06:22 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yfzz8-00011N-GQ for linux-arm-kernel@lists.infradead.org; Thu, 09 Apr 2015 00:06:19 +0000 Received: by paboj16 with SMTP id oj16so130678048pab.0 for ; Wed, 08 Apr 2015 17:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=e8TWfVxX3mwwWuytsWhbxxblL0cHOlPLp5QJNY1IGbo=; b=Tb6lZfkmgoz4causCVp1cs2GF4TGhizjoQAZBSkDMqrSFew4JsJ7qwZMWNU3t9V/WO PwZjHPnUJdtyh3fe9clvEBwQiTM/7YXBZsSYl73mYej4IgXAW4sq4+XD8NwVKgTQ0ZEu jcUUfJhzRSO3xRCCdpS5I767IBtL252U4OH4cGO3mlE5ZJ6LVx+3oFz6lN8Eurrgsw2T /KtATzr/wBTWyNcDtIMGyPMJVPfebJQb1RTBZ/xlAvxLAbvABMeZeDXgHz4kQkiQWKyq TAjZIV1M+A/7p1MmiL3lDS6AoJ99bA07YtehXIF+xfgNksQpuBA4A2MfF+MSeU+ndd6h THnQ== X-Received: by 10.68.94.197 with SMTP id de5mr50545149pbb.57.1428537956590; Wed, 08 Apr 2015 17:05:56 -0700 (PDT) Received: from gregory-irv-00.irv.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id y13sm12621852pas.37.2015.04.08.17.05.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Apr 2015 17:05:55 -0700 (PDT) From: Gregory Fong To: Russell King Subject: [RFC PATCH] ARM: debug: Add prompt for FRAME_POINTER to Kconfig.debug Date: Wed, 8 Apr 2015 17:04:43 -0700 Message-Id: <1428537883-19622-1-git-send-email-gregory.0xf0@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150408_170618_572619_B40F9BF5 X-CRM114-Status: GOOD ( 11.00 ) X-Spam-Score: -0.6 (/) Cc: "moderated list:ARM PORT" , Gregory Fong , open list X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without a prompt string, it is impossible to disable FRAME_POINTER on ARM. It will simply set the default value anytime you run 'make'. To reproduce the original issue, run: make multi_v7_defconfig scripts/config -d ARM_UNWIND make oldconfig # check .config, note that FRAME_POINTER=y scripts/config -d FRAME_POINTER make oldconfig # check .config, note that FRAME_POINTER is still y Signed-off-by: Gregory Fong --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 970de75..b881fd3 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -33,7 +33,7 @@ config STRICT_DEVMEM # traces, you can get a slightly smaller kernel by setting this option to # n, but then RMK will have to kill you ;). config FRAME_POINTER - bool + bool "Compile the kernel with frame pointers" depends on !THUMB2_KERNEL default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER help