X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=include%2Flinux%2Fcompiler-gcc.h;h=21c36b69eb06c15d4306f8c29ccbc251893095f2;hp=61c1479688dbdcc8503239887dadcbfdc652eb18;hb=c3e46874dfb9a2ef08085bb147dc371e72738673;hpb=b83a908498d68fafca931e1276e145b339cac5fb diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 61c1479688db..21c36b69eb06 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@ -119,6 +119,12 @@ #define __no_sanitize_undefined #endif +#if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__) +#define __no_sanitize_coverage __attribute__((no_sanitize_coverage)) +#else +#define __no_sanitize_coverage +#endif + #if GCC_VERSION >= 50100 #define COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW 1 #endif