]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ftrace: move notrace to compiler.h
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Aug 2008 02:47:18 +0000 (22:47 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:35:08 +0000 (10:35 +0200)
The notrace define belongs in compiler.h so that it can be used in
init.h

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/compiler.h
include/linux/linkage.h

index 8322141ee480c802ee6919d0f13a86218e45bfc4..98115d9d04daa6c8008b528bee3014a8cee11078 100644 (file)
@@ -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
  */
index 56ba37394656c7f211eaebdadf5481eda844acca..9fd1f859021b5018baffdb440261379dab4a55b3 100644 (file)
@@ -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