diff options
| -rw-r--r-- | include/linux/compiler.h | 2 | ||||
| -rw-r--r-- | include/linux/linkage.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 8322141ee480..98115d9d04da 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
| @@ -44,6 +44,8 @@ extern void __chk_io_ptr(const volatile void __iomem *); | |||
| 44 | # error Sorry, your compiler is too old/not recognized. | 44 | # error Sorry, your compiler is too old/not recognized. |
| 45 | #endif | 45 | #endif |
| 46 | 46 | ||
| 47 | #define notrace __attribute__((no_instrument_function)) | ||
| 48 | |||
| 47 | /* Intel compiler defines __GNUC__. So we will overwrite implementations | 49 | /* Intel compiler defines __GNUC__. So we will overwrite implementations |
| 48 | * coming from above header files here | 50 | * coming from above header files here |
| 49 | */ | 51 | */ |
diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 56ba37394656..9fd1f859021b 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h | |||
| @@ -4,8 +4,6 @@ | |||
| 4 | #include <linux/compiler.h> | 4 | #include <linux/compiler.h> |
| 5 | #include <asm/linkage.h> | 5 | #include <asm/linkage.h> |
| 6 | 6 | ||
| 7 | #define notrace __attribute__((no_instrument_function)) | ||
| 8 | |||
| 9 | #ifdef __cplusplus | 7 | #ifdef __cplusplus |
| 10 | #define CPP_ASMLINKAGE extern "C" | 8 | #define CPP_ASMLINKAGE extern "C" |
| 11 | #else | 9 | #else |
