diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-04 09:18:28 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-04 09:33:01 +0100 |
commit | 6b2539302bee8e88c99e3c7d80c16a04dbe5e2ad (patch) | |
tree | d4ae4b2af29f2e75546d3a496b6f077c5ef01555 /kernel/trace/trace.h | |
parent | ftrace: add ability to only trace swapper tasks (diff) | |
download | linux-6b2539302bee8e88c99e3c7d80c16a04dbe5e2ad.tar.xz linux-6b2539302bee8e88c99e3c7d80c16a04dbe5e2ad.zip |
tracing: fix typo and missing inline function
Impact: fix build bugs
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 8b81b4d727bd..b4b7b735184d 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -529,7 +529,11 @@ static inline int ftrace_graph_addr(unsigned long addr) #else static inline int ftrace_trace_addr(unsigned long addr) { - return 1 + return 1; +} +static inline int ftrace_graph_addr(unsigned long addr) +{ + return 1; } #endif /* CONFIG_DYNAMIC_FTRACE */ |