Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3156352pxb; Sat, 6 Feb 2021 23:09:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwD3bn9K9QTENjoHJ5rx3QGnY5U39L0BCxyszglH91Xp4wasz1/AZsCBr1xna8eDL9rDqHK X-Received: by 2002:a17:906:86cf:: with SMTP id j15mr11419713ejy.194.1612681796543; Sat, 06 Feb 2021 23:09:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612681796; cv=none; d=google.com; s=arc-20160816; b=KlArYLSetpSrY+3na5SG+fnDrtPCPh5MBtd92UXILPrjmc6y4Rd/PGMHBn+bOqOSj/ AcG7Bku9+gUfkDRi7Tayj+ypKsfE37QY7P5tzGaSB3PMkmXspJQNTt3a2VZgFa1oMFPc eS3x1+1PxU8qmWLjZN4D5c3SFkuYLHNBO/WV1i5bhYYBKVO4d24KaQsQJctPRp/2eiur gZTFdPhQrOxY4sxu1kohsZqZhIY/OjYdJgXa+vyXTiRvl1aBGfofXExz1uO4DIknHAXs peR3hkuDY6mo9D1RrHrMBxgntbge4sOP5WTHD6B0puhW8ToY+7/EG4P13PwKXevHxHW+ dYaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:from:message-id:cc:to; bh=LuQn67jmZGGjZ64eNMQUEl9zXKGWkgc/GvGvMSB46EI=; b=x3HCDgpHVveae3BSfgYJJbYTtiJgNhgiuZE51BkaFJQRMoMFDSSs76Hb9ymZEgpT9B m+W2Mp6Gk5Gb376iyPee3jAuvwLXp/aBGWb+iEm00030+ahl+QeNHsUOa8FmN5POZ2wm KJlxVXJn7ADdfAxa/S0OHWP7nhOZesil9Hoetg6p4wgQjiB4P9jnDaV/9sy5jDqz+jBY xKDXKwX+FOgQ7+21WZNprmJpqLF5jFFPOq2UJwbnghrVEGR7w0yGQ0n2jo9N77eeutqH f1L7Hoh22DcM81ao1yyrD81A0GPs+rnHClFTI1fNxlzIF/V5Lx4EcB5+ZAx33gA6cHlh 0vzw== 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 j16si471447ejm.573.2021.02.06.23.09.33; Sat, 06 Feb 2021 23:09:56 -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 S229581AbhBGHJF (ORCPT + 99 others); Sun, 7 Feb 2021 02:09:05 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:60466 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbhBGHJA (ORCPT ); Sun, 7 Feb 2021 02:09:00 -0500 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id 03FB62A7EE; Sun, 7 Feb 2021 02:08:18 -0500 (EST) To: Geert Uytterhoeven Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Message-Id: From: Finn Thain Subject: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS Date: Sun, 07 Feb 2021 18:02:33 +1100 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This workaround became redundant either when the driver in question was removed (in Linux v2.6.23) or when the compiler flag became a no-op (in GCC v4.2). Linux has required GCC v4.6 or later since v4.19. Link: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=efa1cdf01850b28c2f6f7035ebd4420259494615 References: commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver") References: commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") Signed-off-by: Finn Thain --- arch/m68k/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile index ea14f2046fb4..5be4efec173a 100644 --- a/arch/m68k/Makefile +++ b/arch/m68k/Makefile @@ -66,8 +66,7 @@ KBUILD_CFLAGS += $(cpuflags-y) KBUILD_CFLAGS += -pipe -ffreestanding ifdef CONFIG_MMU -# without -fno-strength-reduce the 53c7xx.c driver fails ;-( -KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2 +KBUILD_CFLAGS += -ffixed-a2 else # we can use a m68k-linux-gcc toolchain with these in place KBUILD_CPPFLAGS += -DUTS_SYSNAME=\"uClinux\" -- 2.26.2