diff options
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 176bf816875e..17f624cdf53c 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -54,7 +54,11 @@ extern void __chk_io_ptr(const volatile void __iomem *); | |||
54 | #include <linux/compiler-gcc.h> | 54 | #include <linux/compiler-gcc.h> |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifdef CC_USING_HOTPATCH | ||
58 | #define notrace __attribute__((hotpatch(0,0))) | ||
59 | #else | ||
57 | #define notrace __attribute__((no_instrument_function)) | 60 | #define notrace __attribute__((no_instrument_function)) |
61 | #endif | ||
58 | 62 | ||
59 | /* Intel compiler defines __GNUC__. So we will overwrite implementations | 63 | /* Intel compiler defines __GNUC__. So we will overwrite implementations |
60 | * coming from above header files here | 64 | * coming from above header files here |