aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-25 07:38:05 -0500
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 16:37:04 -0400
commit489f139614596cbc956a06f5e4bb41288e276fe3 (patch)
tree6c705f5859ff90adc871c4d002b1437ff5407733 /include/linux/ftrace.h
parentd49dbf33f0bf8748ee3662b973eb57e60525d622 (diff)
ftrace: fix build bug
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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 911d5d80b49f..922e23d0196f 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -106,16 +106,16 @@ static inline void tracer_disable(void)
106#endif 106#endif
107 107
108#ifdef CONFIG_IRQSOFF_TRACER 108#ifdef CONFIG_IRQSOFF_TRACER
109 extern void notrace time_hardirqs_on(unsigned long a0, unsigned long a1); 109 extern void time_hardirqs_on(unsigned long a0, unsigned long a1);
110 extern void notrace time_hardirqs_off(unsigned long a0, unsigned long a1); 110 extern void time_hardirqs_off(unsigned long a0, unsigned long a1);
111#else 111#else
112# define time_hardirqs_on(a0, a1) do { } while (0) 112# define time_hardirqs_on(a0, a1) do { } while (0)
113# define time_hardirqs_off(a0, a1) do { } while (0) 113# define time_hardirqs_off(a0, a1) do { } while (0)
114#endif 114#endif
115 115
116#ifdef CONFIG_PREEMPT_TRACER 116#ifdef CONFIG_PREEMPT_TRACER
117 extern void notrace trace_preempt_on(unsigned long a0, unsigned long a1); 117 extern void trace_preempt_on(unsigned long a0, unsigned long a1);
118 extern void notrace trace_preempt_off(unsigned long a0, unsigned long a1); 118 extern void trace_preempt_off(unsigned long a0, unsigned long a1);
119#else 119#else
120# define trace_preempt_on(a0, a1) do { } while (0) 120# define trace_preempt_on(a0, a1) do { } while (0)
121# define trace_preempt_off(a0, a1) do { } while (0) 121# define trace_preempt_off(a0, a1) do { } while (0)