Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3328532imu; Sun, 11 Nov 2018 12:29:14 -0800 (PST) X-Google-Smtp-Source: AJdET5cAUAO/dstJMLszWC7uZCqmJum9KEhJKiH89GVE+TgGzsJ+afF0Kv4Q2fgt6y3L2sxldLaT X-Received: by 2002:a17:902:780f:: with SMTP id p15-v6mr16985658pll.197.1541968154595; Sun, 11 Nov 2018 12:29:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968154; cv=none; d=google.com; s=arc-20160816; b=M500ihRjFd0103bnbSDG8/Li8xdslkR4HBfJwOS/qpOdM9mMcfGauxE0TRXcclu7eM 6wVmQOHHrJGKkAHm9+Ja3YYX+TlMcmqBcq9yVC+GO/xy2A098V2SY/eKuafUE735UuQG oAvAf21Weswvi18BNMdV+CnfjRLoeAklredRsbj6UTiTfZhAW5DMLZm+cI247ixJgV0+ AG/qYK6KWjJdRE/pY1SQ1Kk/4SrUpIpOS8H9uMBjd2yoTtic5AONDPOUdCRmkZboBqll PXvXuhmFJbUT6B/zFe+VcdzI1mPWwKe0tno00Hv5Qew+TBC2OJEcNaTGArSa5GOvKf4W XtEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=JHH/EgrafOlVFCFxmyCONRMyNkDC3yPr6wROp4uu8Gk=; b=I1ciXavv6xncA9jY5YJPDCk8wFbe56njPP3zElQbom2QDlZoNM9McsfMyIstUjxBiz q7zIIzaXJSOCrPuX4SExS04kxCTURNtEfBdwQc6D3Crr29WC9e94RGVacscSm7GKJFTt kCsYJ89sZYZG8OydHtXBqZJrtB643Xjnd9Vwe4+S59HfzXBfoNwNQoRfMZ5S/yPQSJh4 kChqIQyveJLWX0GusISnPJ9XDofreB8o2ix+0gt4n8JK5/AbKR9bcrpb1fGk7nDa4Vuj vpi7gZ+yR8/qrCMYbmul8Pn7nXOhJATzZetVPzwlDG6HX1MCLdqCS4e2She51QFIT2g1 aTBA== ARC-Authentication-Results: i=1; mx.google.com; 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 w3-v6si4642951plb.154.2018.11.11.12.28.59; Sun, 11 Nov 2018 12:29:14 -0800 (PST) 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; 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 S1731106AbeKLGSD (ORCPT + 99 others); Mon, 12 Nov 2018 01:18:03 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50628 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730403AbeKLFsX (ORCPT ); Mon, 12 Nov 2018 00:48:23 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsi-0000l6-8u; Sun, 11 Nov 2018 19:58:52 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsa-0001rD-46; Sun, 11 Nov 2018 19:58:44 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Florian Meier" , "Peter Oberparleiter" , "Arnd Bergmann" , "Linus Torvalds" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 337/366] gcov: add support for gcc version >= 6 In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Florian Meier commit d02038f972538b93011d78c068f44514fbde0a8c upstream. Link: http://lkml.kernel.org/r/20160701130914.GA23225@styxhp Signed-off-by: Florian Meier Reviewed-by: Peter Oberparleiter Tested-by: Peter Oberparleiter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Cc: Arnd Bergmann Signed-off-by: Ben Hutchings --- kernel/gcov/gcc_4_7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/gcov/gcc_4_7.c +++ b/kernel/gcov/gcc_4_7.c @@ -18,7 +18,7 @@ #include #include "gcov.h" -#if __GNUC__ == 5 && __GNUC_MINOR__ >= 1 +#if (__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1) #define GCOV_COUNTERS 10 #elif __GNUC__ == 4 && __GNUC_MINOR__ >= 9 #define GCOV_COUNTERS 9