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 57282C43461 for ; Thu, 17 Sep 2020 11:34:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F040208DB for ; Thu, 17 Sep 2020 11:34:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726236AbgIQLeG (ORCPT ); Thu, 17 Sep 2020 07:34:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726770AbgIQL1t (ORCPT ); Thu, 17 Sep 2020 07:27:49 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27A31C061756 for ; Thu, 17 Sep 2020 04:27:45 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BsZSW73Czz9sVT; Thu, 17 Sep 2020 21:27:23 +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: References: Subject: Re: [PATCH v1] powerpc/process: Replace an #ifdef CONFIG_PPC_BOOK3S_64 by IS_ENABLED() Message-Id: <160034201489.3339803.3277112055562212653.b4-ty@ellerman.id.au> Date: Thu, 17 Sep 2020 21:27:23 +1000 (AEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Aug 2020 05:46:42 +0000 (UTC), Christophe Leroy wrote: > This #ifdef CONFIG_PPC_BOOK3S_64 calls preload_new_slb_context() > when radix is not enabled. > > radix_enabled() is always defined, and the prototype for > preload_new_slb_context() is always present, so the #ifdef > is unneeded. > > [...] Applied to powerpc/next. [1/1] powerpc/process: Replace an #ifdef CONFIG_PPC_BOOK3S_64 by IS_ENABLED() https://git.kernel.org/powerpc/c/bfac2799301c19d81122af04a8a3ad5ecae3737e cheers