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=ae9a1d3ce9a1f3488c9ab5bc0665dbabe44180d3;hpb=8a617e9c324e4f990ed4f79006a7c23c074a1f21 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))