From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C06E1C433E2 for ; Thu, 17 Sep 2020 11:30:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 805B321734 for ; Thu, 17 Sep 2020 11:30:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbgIQLaM (ORCPT ); Thu, 17 Sep 2020 07:30:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726790AbgIQL1o (ORCPT ); Thu, 17 Sep 2020 07:27:44 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 894DCC06174A for ; Thu, 17 Sep 2020 04:27:26 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BsZSX4Wz4z9sVK; Thu, 17 Sep 2020 21:27:24 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <2d89732a9062b2cf2651728804e4b8f6c9b9358e.1597643164.git.christophe.leroy@csgroup.eu> References: <2d89732a9062b2cf2651728804e4b8f6c9b9358e.1597643164.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v1] powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED() Message-Id: <160034201527.3339803.14616472266009491663.b4-ty@ellerman.id.au> Date: Thu, 17 Sep 2020 21:27:24 +1000 (AEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Aug 2020 05:46:44 +0000 (UTC), Christophe Leroy wrote: > The #ifdef CONFIG_KALLSYMS encloses some printk which can > compile in all cases. > > Replace by IS_ENABLED(). Applied to powerpc/next. [1/1] powerpc/process: Replace #ifdef CONFIG_KALLSYMS by IS_ENABLED() https://git.kernel.org/powerpc/c/8f020c7ca300fd60374f0347814c92ea513c24da cheers