From patchwork Mon Jul 9 12:07:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 141395 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2587584ljj; Mon, 9 Jul 2018 05:08:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfokOhyFg+9s70S36sal2DZ6rotvpId/kKjtPba5apGmaniVumVWhqPhuZi5NmTDnxxeoWc X-Received: by 2002:a62:8a83:: with SMTP id o3-v6mr21176955pfk.12.1531138123584; Mon, 09 Jul 2018 05:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531138123; cv=none; d=google.com; s=arc-20160816; b=klnMHP6Vo0SAMuxUzjxZUHFk26oqvETYa27fwInAkwjUqBr51KkCDBTST1cXxLdf9L Y4KKmogqcehrZSwvAEh9/RGWtqDANKS9P+3dJRZTH6V7chQoHwCxLa0Xm45TCFevF8Ot It7fUJj97CQeqdf1Aj9yey0lbc3VoWWJYF2Kis5TI7nmrqUgcyiUETCYFukKN0plKwu5 QgoAyv5vkG+vrCdVJgT7ZpM3RUugo+Z8vOibIovEq/PZTHx5vt+dUEZauRXgnrls4sbF IzeHSnfo4OXz4KmEvCnFoFbi3qLFUgpPnA1dA0OseB0vlwHsvNwG0Z4YSbG/J+/ddnB+ fbbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=X2phr6qz0G7n0ftCA6Ct++HZBF6ihoO5XRU6HmPFOsQ=; b=rn8dFVOv0l3oOmR7tr/wXiI5IjSEvCJqWANDehRnwHMW8SvqEyZuSwks1jcBybRrF+ lCADHkVgnDMmieTKWV0zhvXjC5nyx8ZhdWARwTYEcX9u/FnnSghOILxlkAAY0cVcvpyl C6fUSTx+oT/XAT0z8lE0j3E71k/cnoIbxSQxfjsB5AQRQzjUcE7ZTDMI7pX8zOueJ9Q2 LXrfcVqpGXMTnMkzzqYqGhKLvk2Xv/+Wzgf9uC3TtOJmmXiWckuSha6qfwmX0FJcNMBJ pNJt8er2F0SI/f66ym28FZBeeRJE9+ix9YbT4yomEzvZ6bad7mELkCuIv+eNzJw2nMn2 +w3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=b7bapJhE; 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 r6-v6si13908026pgm.647.2018.07.09.05.08.43; Mon, 09 Jul 2018 05:08:43 -0700 (PDT) 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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=b7bapJhE; 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 S932638AbeGIMIl (ORCPT + 31 others); Mon, 9 Jul 2018 08:08:41 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:57320 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932419AbeGIMIk (ORCPT ); Mon, 9 Jul 2018 08:08:40 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id w69C7Q0F015897; Mon, 9 Jul 2018 21:07:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w69C7Q0F015897 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531138047; bh=X2phr6qz0G7n0ftCA6Ct++HZBF6ihoO5XRU6HmPFOsQ=; h=From:To:Cc:Subject:Date:From; b=b7bapJhEvrZlOsMv7xPy3ZDXiuOHfUu5C6VtF3iBX1/coYSMUzQ9yi27xzuOJ6zq9 9l+JEJaKNGYVV6waAxCohURE9Zhe3I5Y00Mh/Be96QnrMCX19sB5IOpOk9qJM/t9uE OHAIguRbrgo9IqLWjM6tpKCnhCEbyiK9qc2moyc8FFMhPiUREzdtrccCSiR3/Yscpg BeqZWF/GBSve5lSgsYUeMM+7Ti92cmxK3UgfX+1X4i8dsYeriozwmnlpjeSpZBEEhS vnGquwiDW4tPP+UT9CorwwckIgWlMOWVfxgxZR5DRkLHH/VY2rvR9VHImP/SurOrxy A+hVpeOIFPeUw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Ingo Molnar , Thomas Gleixner , x86@kernel.org Cc: Masahiro Yamada , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: [PATCH] x86/build: remove code effective only for GCC older than 4.0 Date: Mon, 9 Jul 2018 21:07:21 +0900 Message-Id: <1531138041-24200-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit e501ce957a78 ("x86: Force asm-goto") bumped the minimum GCC version to 4.5 for building the x86 kernel. arch/x86/Makefile no longer needs to take care of older GCC versions. Signed-off-by: Masahiro Yamada --- arch/x86/Makefile | 5 ----- 1 file changed, 5 deletions(-) -- 2.7.4 diff --git a/arch/x86/Makefile b/arch/x86/Makefile index a08e828..7e3c07d 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -80,11 +80,6 @@ ifeq ($(CONFIG_X86_32),y) # alignment instructions. KBUILD_CFLAGS += $(call cc-option,$(cc_stack_align4)) - # Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use - # a lot more stack due to the lack of sharing of stacklots: - KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0400, \ - $(call cc-option,-fno-unit-at-a-time)) - # CPU-specific tuning. Anything which can be shared with UML should go here. include arch/x86/Makefile_32.cpu KBUILD_CFLAGS += $(cflags-y)