summaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 21:20:45 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 20:40:46 +0200
commitc7aafc549766b87819285d3480648fc652a47bc4 (patch)
tree4c36170a644633f930feca57b27f8c5d23644e70 /include/linux/ftrace.h
parent60a11774b38fef1ab90b18c5353bd1c7c4d311c8 (diff)
downloadop-kernel-dev-c7aafc549766b87819285d3480648fc652a47bc4.zip
op-kernel-dev-c7aafc549766b87819285d3480648fc652a47bc4.tar.gz
ftrace: cleanups
factor out code and clean it up. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 2c1670c..953a36d 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -69,7 +69,7 @@ extern void ftrace_caller(void);
extern void ftrace_call(void);
extern void mcount_call(void);
#else
-# define ftrace_force_update() do { } while (0)
+# define ftrace_force_update() ({ 0; })
#endif
static inline void tracer_disable(void)
OpenPOWER on IntegriCloud