diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:45 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:40:46 -0400 |
commit | c7aafc549766b87819285d3480648fc652a47bc4 (patch) | |
tree | 4c36170a644633f930feca57b27f8c5d23644e70 /include | |
parent | 60a11774b38fef1ab90b18c5353bd1c7c4d311c8 (diff) |
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')
-rw-r--r-- | include/linux/ftrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 2c1670c65236..953a36d6a199 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -69,7 +69,7 @@ extern void ftrace_caller(void); | |||
69 | extern void ftrace_call(void); | 69 | extern void ftrace_call(void); |
70 | extern void mcount_call(void); | 70 | extern void mcount_call(void); |
71 | #else | 71 | #else |
72 | # define ftrace_force_update() do { } while (0) | 72 | # define ftrace_force_update() ({ 0; }) |
73 | #endif | 73 | #endif |
74 | 74 | ||
75 | static inline void tracer_disable(void) | 75 | static inline void tracer_disable(void) |