Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp336874pxk; Thu, 17 Sep 2020 04:35:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC1kBqSHg3v9hsoK+jMA34A9BgsYDfSI4B0Ob3I6WST2x2tISxrlBR9ggwV/nNl+puCSme X-Received: by 2002:a17:906:d11a:: with SMTP id b26mr29199281ejz.191.1600342538814; Thu, 17 Sep 2020 04:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600342538; cv=none; d=google.com; s=arc-20160816; b=Z8BaU/nPNp8Da6t3/47s1afwlMkUlFzVMFawS72VUamFTnc82T6bTICX2KV2al0TeJ aGVkQVy40iwZ+LOnW2lil9hx6m4EKI7Y+hKqXDnZTzGcJBFOOZMtsldovV+ZhoDWIVEs 9XvD6Qo+uWTIljzxR2drCA3za85q9OVnnQcAU4sBHLepZGPNmVtfGtsVcDEnd19Jx1hb n/zaK8gpGvttBSZTsPOG9+LOIPsxXG/B1j3w+m5Us97tfsdYioLPwZYivxtD+y1MKFTi WuSsmqr5DZoszaFEw0Fno5naKTThWaNPsssneHD8Bppi5ZZj408x/pcEl5kFzlc3iv9d nf0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=T0Cyf+ighd494Dx1NMyjFnjibJd9wex41rHhFZl7tKU=; b=D33T2FH+/r+Wy6PFlV6pGKAtDLkG+mp3QFPuqWTR7A/kw2eaLcFf3hHyxWjCH1bpOH FxXeDiLrJOCiDkMBbO47OPwfidrXfkOQPgt1Asy2MENTvKTuZvjziQuzavB6rhHQDUhF cszO1pFynuWn9dBwMrfHynthTw3qcEqX33XLvcrPgEiLStvrs/ENJ2NATsuCeh4gfXTf rtl+buMU8ZfgqkKRzwDyXuy9c7hRvH+gl9XWty0vyZx4dI6eWAVxd+Es+xnto3eIKNmY 5Gg9Vu0Hs0UlpXZGIMaj78CKAOKLsTXrqrAbtBDfMXqB5C8ZLjbQFqecuCYbpe45xcIn lhEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm15si14244346edb.236.2020.09.17.04.35.14; Thu, 17 Sep 2020 04:35:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726844AbgIQLdw (ORCPT + 99 others); Thu, 17 Sep 2020 07:33:52 -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