Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2656074pxa; Mon, 17 Aug 2020 15:40:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkIHQME1yXbfMdl8ywgRXTRG+3lyAF7ZpLdmH0D6n1TsTA8P0NdQEFE48QFUWhQtIuhM3G X-Received: by 2002:aa7:cdd0:: with SMTP id h16mr17158288edw.116.1597704045421; Mon, 17 Aug 2020 15:40:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704045; cv=none; d=google.com; s=arc-20160816; b=jE4kgo27xF+OePrzyExrMOs0UUN6D4c3MEW5r0xS6ta55Ikszs6t9wjj+0PCCBQtdO 3fMvfbK+p8WUkNhMcG6+2jXOknz1hnvl9qcStRwlBNMLroHEE1Dt2JXVIdYE3J3lan/Y jkpwvyD1+8h5RYjAVFUvlBPyD8XMc+AElVXssVD4fKzXoLPOEKijndDvKq8eiuYfEYcY fqd7fxN8xbhOwi4cNhLrhVFm3asb8IOhmEH56r+XN/aA+WIk9PtM4vwgDrevG1xaCy3m iRaxfRBznW+QyOhK/H8zNDMHIpzDYCXMzG8kCfzBql66IseLoiomvgkHSw833LMd5Irq oqpA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HN7gMBVd2hqi6rgVWLe9GbK9pxRoQH01Mx7tcKUCHaM=; b=TevgVwcHEqeGikJOVOYQpgksQt5IEL3XKK803etG4EQu66tR1ViI6cl2pZrJo0k9sA gdYG4NrWzbWQvBMRJIV2PcP2TDK7slg2P77wS2YDDjV4YL+C1BajtEegsDaVSbaJy9vG eQ6RzNoanixpDVWcgmZSHz54REPP93oKJeGj3eXciGgezyHgDa+FSHl/j39Xd3LJRIZJ BP8/F1rg4OzcTtQ5ky1IXa5lmiQPEdEuxH2dcBrZJ1qwWs+bfriLedzJB7ImnlAO8CNH hUIyw9otNVX1N+h6oPWFha4v6yxyC4LF+CH7fzG8oQC7Gc2PaTv4hW11e5l+4vDla8hp JN9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ru7FXo6S; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si12349556ejx.56.2020.08.17.15.40.22; Mon, 17 Aug 2020 15:40:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ru7FXo6S; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390458AbgHQSL2 (ORCPT + 99 others); Mon, 17 Aug 2020 14:11:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:54028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388281AbgHQQH0 (ORCPT ); Mon, 17 Aug 2020 12:07:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A92420866; Mon, 17 Aug 2020 16:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597680422; bh=F3hGrF7cMPs0Zativ+0w34SfGFDKisWaCsceG/QxuSw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ru7FXo6ServxVol8zEVPQLaCHr8Gdhp9Mu1JyiF6EJFZNSKGfQRW9HNycfqw+TZQ+ tsIvudWsv6v3rQJGi6nP0wf9MAdS4fM6p8bmrqN73we3Z+3ePElfKn67J3e/KK2r5W Ujdui+8j18y3qI2+U+9Gayag1vh4s7vjSXxwxHBE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Ellerman , Sasha Levin Subject: [PATCH 5.4 180/270] powerpc/32s: Fix CONFIG_BOOK3S_601 uses Date: Mon, 17 Aug 2020 17:16:21 +0200 Message-Id: <20200817143804.770051937@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143755.807583758@linuxfoundation.org> References: <20200817143755.807583758@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Ellerman [ Upstream commit df4d4ef22446b3a789a4efd74d34f2ec1e24deb2 ] We have two uses of CONFIG_BOOK3S_601, which doesn't exist. Fix them to use CONFIG_PPC_BOOK3S_601 which is the correct symbol. Fixes: 12c3f1fd87bf ("powerpc/32s: get rid of CPU_FTR_601 feature") Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20200724131728.1643966-5-mpe@ellerman.id.au Signed-off-by: Sasha Levin --- arch/powerpc/include/asm/ptrace.h | 2 +- arch/powerpc/include/asm/timex.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/ptrace.h b/arch/powerpc/include/asm/ptrace.h index ee3ada66deb58..c41220f4aad9e 100644 --- a/arch/powerpc/include/asm/ptrace.h +++ b/arch/powerpc/include/asm/ptrace.h @@ -203,7 +203,7 @@ do { \ #endif /* __powerpc64__ */ #define arch_has_single_step() (1) -#ifndef CONFIG_BOOK3S_601 +#ifndef CONFIG_PPC_BOOK3S_601 #define arch_has_block_step() (true) #else #define arch_has_block_step() (false) diff --git a/arch/powerpc/include/asm/timex.h b/arch/powerpc/include/asm/timex.h index d2d2c4bd84358..6047402b0a4db 100644 --- a/arch/powerpc/include/asm/timex.h +++ b/arch/powerpc/include/asm/timex.h @@ -17,7 +17,7 @@ typedef unsigned long cycles_t; static inline cycles_t get_cycles(void) { - if (IS_ENABLED(CONFIG_BOOK3S_601)) + if (IS_ENABLED(CONFIG_PPC_BOOK3S_601)) return 0; return mftb(); -- 2.25.1