Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp247853pxv; Wed, 14 Jul 2021 03:08:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztqMT3f6NIKhQxLVHJfRXmiiu4t18EZagmg99vwwbRzZLNnApo81QJ3P1GM5GP3/bvGQLj X-Received: by 2002:a17:906:cb86:: with SMTP id mf6mr11667038ejb.116.1626257330007; Wed, 14 Jul 2021 03:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626257330; cv=none; d=google.com; s=arc-20160816; b=v39LZ9Rx1Ls8Yp315oAGNIwQNCRqlp3B7ZwrXH5WqynXu6tbEp5FKxw+lI7UJPqDZK buVPT7RCzorWd3Bpc7kT9Os79YKy10ow7PXs1Szx+XdR2AIhdlbMzP9G/sEqSn5AHO0v msUyEdgNz3OozBc0dCQ91Nyj2MqZ+TNHJVTu3tDCH5zv8Sp7cRX93i6rlDcrXMw6JmVA ReSQ0KrDjdjtIkP49tLCoWXGl591wbztqKv4HdT4nuepGLaYXCQ6pz+vk6Vt/hlSqe5R ljCN7fzw2FTpjl3IjQkx6pmwDUYG+K4s6Ci+XXNcvBaWlp4+2ItSN6Cvt9OlGWZCMZ2R v6GA== 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=8yZNM6jRwa3MGvVvWvDYL4CN3tAPkDy1vOmriGz4r84=; b=Dn0H5u8NcXaO61FV3dDF1e+HxRILgWHvRN15HxetjDtAp7D0EM3E9vQK4CxF2WiMDZ EhhX8/OsvIwHFVNoBOlw2ZbK4zGWcEOijhtOLY9aKqGC0Gloi93di4BOI2DL0sYIrbQb TZTm6f6s9IZ2WC4XnXLf9y84OdpJHFKkABJFdx26LtI+0MRPltE2bFHHJq8BAYwErcEu LEBgdlq8xq87MEci8yc2x1s7GxtZAS8qjV5ET+TqzeE+6+wf34i2u+UhoOJAfeSyC/oA fuzt/Noqr1I5FdevEShMt/JfXy5v3QwLSPJUxi2BGVMBugUCLFhtDyb6GlJCTD8t2LOK C5xw== 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 f22si2236224ejj.660.2021.07.14.03.08.26; Wed, 14 Jul 2021 03:08:49 -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 S239051AbhGNKHN (ORCPT + 99 others); Wed, 14 Jul 2021 06:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239033AbhGNKHK (ORCPT ); Wed, 14 Jul 2021 06:07:10 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4703CC061760 for ; Wed, 14 Jul 2021 03:04:18 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:39cc:190a:2775:cfe7]) by albert.telenet-ops.be with bizsmtp id Uy4F2500C1ccfby06y4FhN; Wed, 14 Jul 2021 12:04:16 +0200 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 1m3bkU-0016Et-SX; Wed, 14 Jul 2021 12:04:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1m3bkU-00A4KL-H5; Wed, 14 Jul 2021 12:04:14 +0200 From: Geert Uytterhoeven To: Russell King , Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 2/3] ARM: unified: Remove check for gcc < 4 Date: Wed, 14 Jul 2021 12:04:09 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 --- v2: - No changes. 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