X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=include%2Flinux%2Fcompiler.h;h=52a459ff75f4c2b88a8083338a2d173ce502f279;hp=fe817432190c1cfb4c3108bbdfaf71b22916b8f8;hb=1a5d0dd76b1eff1dc65417655fef9b9aea682ed0;hpb=c2a75885ff15c6ed1bc6e6b0652f4107ced671ff diff --git a/include/linux/compiler.h b/include/linux/compiler.h index fe817432190c..52a459ff75f4 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -56,7 +56,7 @@ extern void __chk_io_ptr(const volatile void __iomem *); #include #endif -#ifdef CC_USING_HOTPATCH +#if defined(CC_USING_HOTPATCH) && !defined(__CHECKER__) #define notrace __attribute__((hotpatch(0,0))) #else #define notrace __attribute__((no_instrument_function))