[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160704081933.GA26158@styxhp>
Date: Mon, 4 Jul 2016 10:19:33 +0200
From: Florian Meier <Florian.Meier@...ormatik.uni-erlangen.de>
To: Peter Oberparleiter <oberpar@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: [PATCH v004] gcov: Added support for gcc version >= 6
Added support for gcc version >= 6 in gcov.
Signed-off-by: Florian Meier <Florian.Meier@...ormatik.uni-erlangen.de>
---
kernel/gcov/gcc_4_7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/gcov/gcc_4_7.c b/kernel/gcov/gcc_4_7.c
index e25e92f..6a5c239 100644
--- a/kernel/gcov/gcc_4_7.c
+++ b/kernel/gcov/gcc_4_7.c
@@ -18,7 +18,7 @@
#include <linux/vmalloc.h>
#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
--
2.9.0
Powered by blists - more mailing lists