diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index db8a5e7abe41..0a20445dcbcc 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -50,4 +50,12 @@ extern void mcount(void); | |||
50 | # define CALLER_ADDR5 0UL | 50 | # define CALLER_ADDR5 0UL |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | #ifdef CONFIG_IRQSOFF_TRACER | ||
54 | extern void notrace time_hardirqs_on(unsigned long a0, unsigned long a1); | ||
55 | extern void notrace time_hardirqs_off(unsigned long a0, unsigned long a1); | ||
56 | #else | ||
57 | # define time_hardirqs_on(a0, a1) do { } while (0) | ||
58 | # define time_hardirqs_off(a0, a1) do { } while (0) | ||
59 | #endif | ||
60 | |||
53 | #endif /* _LINUX_FTRACE_H */ | 61 | #endif /* _LINUX_FTRACE_H */ |