Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp423620imu; Sat, 17 Nov 2018 02:26:35 -0800 (PST) X-Google-Smtp-Source: AJdET5d+YgNN2+eSObg5FFrZZL8elNn+g8n5NPyaPFdaCzo53xoqu8NLbzuuI09yKZ9464jN6p6D X-Received: by 2002:a62:e201:: with SMTP id a1mr2323404pfi.75.1542450394949; Sat, 17 Nov 2018 02:26:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542450394; cv=none; d=google.com; s=arc-20160816; b=hbRm7RcinTug4ut618v1uEvq9hdWsvOFvT12Mn23Gj0crbNCh/sGoen881blVAgfVO doX609mEhez53U+FXVrLFaF2ncbAomQVh3fBxvCidKc7w/8cUJvyMTPqKL+1REsXV1nL 2d2m4U2PBnZ7rjQNL9gz6RCE44cgr0EzLYyfO4cqJpJZYA0A3niZad//cRqp76xXvzXH xEgLRGofV5d9pz8qWtrp5KLC39tHjmqKxR5EBf48d0qGL69LheF457G177UuXqaWG5Gf KcYMgdDC1PyiDbuvoZA+mOWHIJpc2/LGOx5YFbNkkdBzM97KOJfHn7Bmg8nBC/BDdXdj nqhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:message-id; bh=UTiDk9TktS9H4jHw708sPigN0gmpq0P2XfwBB2kN7Ug=; b=bHrwZcM5xgQdI550UUk7kqVFyFdp8GW2XJUwPUF26lhd4VgfWLH7RcMuuIkWdWVut9 2Zi2oPfGYeNoda08bQiVmc7+RJKoOc1OHOQoGRRcfAs5FXVJbI4srPRK3WbLTnFz5kp4 nyR1uv6SFWpaX6nonehyXK+bssoBl7ZatgLZAG7whp5SxqVqtIZMx4KcibB2C2Z8ch1r UTxgjCyUIQI3Tw1oz+M1bZNmvDOABPnnk2rqPcD7eqLoVLZND6ODZqSZzfr016gsSSkk 8jjDRJy6hVagWaBCRp68ttZ7AVUj9jjNbvHUbddlAWuskYI0lWfIYT4qqSaX2fYasWYb hscQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si35579679pla.207.2018.11.17.02.26.02; Sat, 17 Nov 2018 02:26:34 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726160AbeKQUlK (ORCPT + 99 others); Sat, 17 Nov 2018 15:41:10 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:33553 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbeKQUlJ (ORCPT ); Sat, 17 Nov 2018 15:41:09 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 42xrnc2zBpz9ty08; Sat, 17 Nov 2018 11:24:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id k_NCHo43yAJl; Sat, 17 Nov 2018 11:24:52 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 42xrnc28Qmz9ty07; Sat, 17 Nov 2018 11:24:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6581B8B78A; Sat, 17 Nov 2018 11:24:55 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id cqeJB1XcqMbk; Sat, 17 Nov 2018 11:24:55 +0100 (CET) Received: from po14163vm.idsi0.si.c-s.fr (unknown [192.168.232.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 38E318B74B; Sat, 17 Nov 2018 11:24:55 +0100 (CET) Received: by po14163vm.idsi0.si.c-s.fr (Postfix, from userid 0) id E6D9369A6C; Sat, 17 Nov 2018 10:24:54 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH 1/7] drivers/cpufreq: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32 To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-pm@vger.kernel.org Date: Sat, 17 Nov 2018 10:24:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Today, powerpc has three CONFIG labels which means exactly the same: - CONFIG_6xx - CONFIG_PPC_BOOK3S_32 - CONFIG_PPC_STD_MMU_32 By consistency with PPC64, CONFIG_PPC_BOOK3S_32 is the preferred one. Using a label with includes _PPC_ also makes it clearer that it is linked to powerpc. In preparation of the removal of CONFIG_6xx, this patch replaces it by CONFIG_PPC_BOOK3S_32 Signed-off-by: Christophe Leroy --- drivers/cpufreq/pmac32-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/pmac32-cpufreq.c b/drivers/cpufreq/pmac32-cpufreq.c index 61ae06ca008e..52f0d91d30c1 100644 --- a/drivers/cpufreq/pmac32-cpufreq.c +++ b/drivers/cpufreq/pmac32-cpufreq.c @@ -128,7 +128,7 @@ static int cpu_750fx_cpu_speed(int low_speed) mtspr(SPRN_HID2, hid2); } } -#ifdef CONFIG_6xx +#ifdef CONFIG_PPC_BOOK3S_32 low_choose_750fx_pll(low_speed); #endif if (low_speed == 1) { @@ -166,7 +166,7 @@ static int dfs_set_cpu_speed(int low_speed) } /* set frequency */ -#ifdef CONFIG_6xx +#ifdef CONFIG_PPC_BOOK3S_32 low_choose_7447a_dfs(low_speed); #endif udelay(100); -- 2.13.3