Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1336356pxb; Wed, 10 Feb 2021 06:16:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt5efea4knyinxGcbdnQz4/O/vxP8FKqoHFKWI688WB+FfwMEubEGQJhor4pVrrlYcvKW2 X-Received: by 2002:a17:906:1118:: with SMTP id h24mr3126304eja.145.1612966575117; Wed, 10 Feb 2021 06:16:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612966575; cv=none; d=google.com; s=arc-20160816; b=F9Af0HWvHlDFQG7UlobvzkGNlAUypnPSlTg1qBnamcIDefYmwnjeNcpgOCm2PqnyMg d/bKxzCnv2mIT3qxBkUEXaqJx5r6Mow50avvaZgvepxwL4edqzJWa2qdG2yhW93s0C/U te7cd9Mp+n3HBwnybzZYKNrxjzTlloUaMU2da4Q+VCHtRd2TDyy+yEfyiIk7tZbbb8dD /uuhcyagHL+9+9ASlEDXx0El2VSCGQNY5V+Mb5zcP0AT5mdeRpxKH8MywC2TJI83Kwyp CQs+1mgmJ4U6M+H3BBjcA8RTGWCCUvaKRFZJYAGC2zmOj81Kh/5LizsizfO7ZCBahrEs ObCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=L6gHZrk1jMG5jlSgq8o5tDQErYSCHZRPyN4JUXHbjkg=; b=aceInvhZNHa6RGN8k5DPKUJO4wfbkzgtIXyqvRw10V6ox/7W5asjRXzjmH8DIiRSmB RdFzX4gsW2szE7njMmXKmx2Ij1o9uJq44ykNf7xSQj9PC7KY847DfYqnpHgDjyU66xTk ALuz7TdX4A5WlUjfKG9BYeu+N5/UWdwtf4Jt0Vw7wldFSJOEQZ6IhA6RRMJPb+hSatEi nu8P55styCKW7yi5MnEtSaNqKnJQC657uhsH9FMoOxvHVWDrcvvdxfYqPD2WjlQUvZio KrZqNuwl2P85IEKjrJZa/UDqDQ1CC5fHrnuijEjGqxH1KvCRcBAhWbA3nB8kwgy1Xe2T 6HpQ== 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 k7si1325645ejb.442.2021.02.10.06.15.50; Wed, 10 Feb 2021 06:16:15 -0800 (PST) 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 S232124AbhBJOPU (ORCPT + 99 others); Wed, 10 Feb 2021 09:15:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232005AbhBJOMd (ORCPT ); Wed, 10 Feb 2021 09:12:33 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649FBC0613D6 for ; Wed, 10 Feb 2021 06:11:46 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by baptiste.telenet-ops.be with bizsmtp id TSBk240074C55Sk01SBkC7; Wed, 10 Feb 2021 15:11:44 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l9qDX-005Hsy-Lj; Wed, 10 Feb 2021 15:11:43 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l9qDW-006Jqh-RT; Wed, 10 Feb 2021 15:11:42 +0100 From: Geert Uytterhoeven To: Russell King , Michal Simek , Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/4] ARM: unified: Remove check for gcc < 4 Date: Wed, 10 Feb 2021 15:11:38 +0100 Message-Id: <20210210141140.1506212-3-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210210141140.1506212-1-geert+renesas@glider.be> References: <20210210141140.1506212-1-geert+renesas@glider.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit cafa0010cd51fb71 ("Raise the minimum required gcc version to 4.6"), the kernel can no longer be compiled using gcc-3. Hence this condition is never true, and the check can thus be removed. Signed-off-by: Geert Uytterhoeven --- arch/arm/include/asm/unified.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/include/asm/unified.h b/arch/arm/include/asm/unified.h index 1e2c3eb043535f7b..ce9689118dbb945b 100644 --- a/arch/arm/include/asm/unified.h +++ b/arch/arm/include/asm/unified.h @@ -24,10 +24,6 @@ __asm__(".syntax unified"); #ifdef CONFIG_THUMB2_KERNEL -#if __GNUC__ < 4 -#error Thumb-2 kernel requires gcc >= 4 -#endif - /* The CPSR bit describing the instruction set (Thumb) */ #define PSR_ISETSTATE PSR_T_BIT -- 2.25.1