Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6371266yba; Thu, 11 Apr 2019 18:45:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIZxmUWyJIBF0fBeb9D5a7DSG6DR1dK2EJQ6dcfQpF0qx9BacdoXkYDCUiL9X4WlY3hCug X-Received: by 2002:a62:6402:: with SMTP id y2mr52482261pfb.194.1555033519871; Thu, 11 Apr 2019 18:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555033519; cv=none; d=google.com; s=arc-20160816; b=O5yJG9f9JYwr6hKkDntWJzR5q2C1r81yr1cC5AfIOjK47benWIeI6Ul1MdJJBKEnMP EQ4njsICNaSDLd4t1JAsjm1xLcNwBsNa7sD+sP8V5CLpUKIFbrXhS5eteW7GNf1Qr++G lZkYzSOaZ18AUGu8xXlJ/3At/1QqEAzPVP7RumNVAsAfxhwMRe/B5eg+DSikTdMk9+xr w2pcY5SVLBI61RNlCG7JRHTC/52wNZIpo7u7gGoJ3fXv2YuAz9CIzl2ASDKGWmghKa4s pufYinoK6+uc3lutUwFBXvStyXKkExWmYR2Dzp9Cg0x5Vcmj841HUqTsKuZBUqjYQnNi OXGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LUSAbqLpMSLfBNGtz0qQ7no4ubkV4nQJaxohgn9MJ4k=; b=uTtwv5kr51McNd/J09tmM2zchhGPXL1tv7b7A3Jwxek47G9WeOU3qiIBJ+NdXWRauj k5gRuzLfP6/FislTGFr6SR6KO76RnIkVoO9Z8eqeoCU9HHjhOtkuBDK9fNhENwYZcFJ3 vJIEkFozoiIT53PgsGgBndmrhI33DQ/ZWYSAFHCjCe3n3Pbpu9uJRDJA7BL+VQaTMJ2j rG8Pq1y+qzpbNhEF519/JLLHCeQ+AivwdA4sGuhsDN0vPZjudzYl2317Mgf55rCWSDB9 EetvBxwgmGDFsqANEPyCTTw+Ckq8pmA6/0nnksPCalqLKTyDB/M1+1XbWdaHe5a8CPSw 8Iiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zk49QwQ6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s83si35725123pgs.420.2019.04.11.18.45.02; Thu, 11 Apr 2019 18:45:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zk49QwQ6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726877AbfDLBoP (ORCPT + 99 others); Thu, 11 Apr 2019 21:44:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:54732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726677AbfDLBoN (ORCPT ); Thu, 11 Apr 2019 21:44:13 -0400 Received: from sinanubuntu1604.mkjiurmyylmellclgttazegk5f.bx.internal.cloudapp.net (unknown [52.191.113.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9593421850; Fri, 12 Apr 2019 01:44:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555033452; bh=ezoFhkNv2c7a2gDzE9OdwLaKZ5doSr9fSC1eIzoUfIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zk49QwQ6GRZl9d1j8ACX/XqodaXmIQxtFzJ2j1quPzGM0pRnH5u1w4gni9Z6L1BfW 9Uez8coVEqO3rqL/DTlfQwaAbov/t63LqaWqD4juwNvSD/3uT13bgXZl8JFbS9RG4c 5WWaUCrwM4lYUZln7aFaS7lLxopcmVBUmbFxvw4A= From: Sinan Kaya To: linux-kernel@vger.kernel.org Cc: josh@joshtriplett.org, keescook@chromium.org, Sinan Kaya , Ralf Baechle , Paul Burton , James Hogan , Mike Rapoport , Andrew Morton , Michal Hocko , Anders Roxell , Greg Kroah-Hartman , Huacai Chen , Stefan Agner , linux-mips@vger.kernel.org (open list:MIPS) Subject: [PATCH v4 3/5] mips: Replace CONFIG_DEBUG_KERNEL with CONFIG_DEBUG_MISC Date: Fri, 12 Apr 2019 01:43:53 +0000 Message-Id: <20190412014355.25307-4-okaya@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190412014355.25307-1-okaya@kernel.org> References: <20190412014355.25307-1-okaya@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_DEBUG_KERNEL should not impact code generation. Use the newly defined CONFIG_DEBUG_MISC instead to keep the current code. Signed-off-by: Sinan Kaya --- arch/mips/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 8d1dc6c71173..9fc8fadb8418 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -563,7 +563,7 @@ static void __init bootmem_init(void) offset = __pa_symbol(_text) - __pa_symbol(VMLINUX_LOAD_ADDRESS); memblock_free(__pa_symbol(VMLINUX_LOAD_ADDRESS), offset); -#if defined(CONFIG_DEBUG_KERNEL) && defined(CONFIG_DEBUG_INFO) +#if defined(CONFIG_DEBUG_MISC) && defined(CONFIG_DEBUG_INFO) /* * This information is necessary when debugging the kernel * But is a security vulnerability otherwise! -- 2.21.0