Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28614889 authored by Steven Rostedt's avatar Steven Rostedt Committed by Ingo Molnar
Browse files

ftrace: move notrace to compiler.h



The notrace define belongs in compiler.h so that it can be used in
init.h

Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a9fdda33
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@ extern void __chk_io_ptr(const volatile void __iomem *);
# error Sorry, your compiler is too old/not recognized.
#endif

#define notrace __attribute__((no_instrument_function))

/* Intel compiler defines __GNUC__. So we will overwrite implementations
 * coming from above header files here
 */
+0 −2
Original line number Diff line number Diff line
@@ -4,8 +4,6 @@
#include <linux/compiler.h>
#include <asm/linkage.h>

#define notrace __attribute__((no_instrument_function))

#ifdef __cplusplus
#define CPP_ASMLINKAGE extern "C"
#else