From patchwork Wed May 29 09:56:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 2628511 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C97A840077 for ; Wed, 29 May 2013 10:02:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965463Ab3E2KCM (ORCPT ); Wed, 29 May 2013 06:02:12 -0400 Received: from cpsmtpb-ews08.kpnxchange.com ([213.75.39.13]:53581 "EHLO cpsmtpb-ews08.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965107Ab3E2KCL (ORCPT ); Wed, 29 May 2013 06:02:11 -0400 X-Greylist: delayed 310 seconds by postgrey-1.27 at vger.kernel.org; Wed, 29 May 2013 06:02:11 EDT Received: from cpsps-ews06.kpnxchange.com ([10.94.84.173]) by cpsmtpb-ews08.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 29 May 2013 11:56:59 +0200 Received: from CPSMTPM-TLF101.kpnxchange.com ([195.121.3.4]) by cpsps-ews06.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 29 May 2013 11:56:59 +0200 Received: from [192.168.1.103] ([212.123.139.93]) by CPSMTPM-TLF101.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 29 May 2013 11:56:58 +0200 Message-ID: <1369821418.23034.25.camel@x61.thuisdomein> Subject: [PATCH] parisc: rename "CONFIG_PA7100" to "CONFIG_PA7000" From: Paul Bolle To: "James E.J. Bottomley" , Helge Deller Cc: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 29 May 2013 11:56:58 +0200 X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 X-OriginalArrivalTime: 29 May 2013 09:56:58.0888 (UTC) FILETIME=[DC079080:01CE5C52] X-RcptDomain: vger.kernel.org Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org There's a Makefile line setting cflags for CONFIG_PA7100. But that Kconfig macro doesn't exist. There is a Kconfig symbol PA7000, which covers both PA7000 and PA7100 processors. So let's use the corresponding Kconfig macro. Signed-off-by: Paul Bolle --- Untested. This needs testing for two reasons: - the gcc documentation suggests this might not work for PA7000 processors of architecture 1.0 (aka, "PA7000 (PCX)"); - this has line has always been a NOP. See, a comparable line was added in v2.5.45. It depended on CONFIG_PA7100, which didn't exist. A Kconfig symbol PA7100 has actually never been part of the tree. (In v2.5.46 the Kconfig symbol PA7000 was added, but that still kept that line a NOP.) arch/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 1976900..96ec398 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -66,7 +66,7 @@ KBUILD_CFLAGS_KERNEL += -mlong-calls endif # select which processor to optimise for -cflags-$(CONFIG_PA7100) += -march=1.1 -mschedule=7100 +cflags-$(CONFIG_PA7000) += -march=1.1 -mschedule=7100 cflags-$(CONFIG_PA7200) += -march=1.1 -mschedule=7200 cflags-$(CONFIG_PA7100LC) += -march=1.1 -mschedule=7100LC cflags-$(CONFIG_PA7300LC) += -march=1.1 -mschedule=7300