lkml.org 
[lkml]   [2008]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2/3] 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: Steven Rostedt <srostedt@redhat.com>
---
include/linux/compiler.h | 2 ++
include/linux/linkage.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-tip.git/include/linux/compiler.h
===================================================================
--- linux-tip.git.orig/include/linux/compiler.h 2008-08-14 22:42:59.000000000 -0400
+++ linux-tip.git/include/linux/compiler.h 2008-08-14 22:43:16.000000000 -0400
@@ -44,6 +44,8 @@ extern void __chk_io_ptr(const volatile
# 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: linux-tip.git/include/linux/linkage.h
===================================================================
--- linux-tip.git.orig/include/linux/linkage.h 2008-08-14 22:42:59.000000000 -0400
+++ linux-tip.git/include/linux/linkage.h 2008-08-14 22:43:16.000000000 -0400
@@ -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
--


\
 
 \ /
  Last update: 2008-08-15 05:03    [W:0.051 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site