|
@@ -54,7 +54,11 @@ extern void __chk_io_ptr(const volatile void __iomem *);
|
|
#include <linux/compiler-gcc.h>
|
|
#include <linux/compiler-gcc.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef CC_USING_HOTPATCH
|
|
|
|
+#define notrace __attribute__((hotpatch(0,0)))
|
|
|
|
+#else
|
|
#define notrace __attribute__((no_instrument_function))
|
|
#define notrace __attribute__((no_instrument_function))
|
|
|
|
+#endif
|
|
|
|
|
|
/* Intel compiler defines __GNUC__. So we will overwrite implementations
|
|
/* Intel compiler defines __GNUC__. So we will overwrite implementations
|
|
* coming from above header files here
|
|
* coming from above header files here
|