diff options
Diffstat (limited to 'kernel/gcov')
-rw-r--r-- | kernel/gcov/clang.c | 6 | ||||
-rw-r--r-- | kernel/gcov/gcc_4_7.c | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/kernel/gcov/clang.c b/kernel/gcov/clang.c index 7670a811a565..8b888a6193cc 100644 --- a/kernel/gcov/clang.c +++ b/kernel/gcov/clang.c @@ -264,10 +264,10 @@ int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2) /** * gcov_info_add - add up profiling data - * @dest: profiling data set to which data is added - * @source: profiling data set which is added + * @dst: profiling data set to which data is added + * @src: profiling data set which is added * - * Adds profiling counts of @source to @dest. + * Adds profiling counts of @src to @dst. */ void gcov_info_add(struct gcov_info *dst, struct gcov_info *src) { diff --git a/kernel/gcov/gcc_4_7.c b/kernel/gcov/gcc_4_7.c index 74a4ef1da9ad..a08cc076f332 100644 --- a/kernel/gcov/gcc_4_7.c +++ b/kernel/gcov/gcc_4_7.c @@ -18,12 +18,10 @@ #include <linux/mm.h> #include "gcov.h" -#if (__GNUC__ >= 10) -#define GCOV_COUNTERS 8 -#elif (__GNUC__ >= 7) +#if (__GNUC__ >= 14) #define GCOV_COUNTERS 9 -#elif (__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 1) -#define GCOV_COUNTERS 10 +#elif (__GNUC__ >= 10) +#define GCOV_COUNTERS 8 #else #define GCOV_COUNTERS 9 #endif |