tracing: fix typo and missing inline function
authorIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 08:18:28 +0000 (09:18 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 08:33:01 +0000 (09:33 +0100)
Impact: fix build bugs

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.h

index 8b81b4d..b4b7b73 100644 (file)
@@ -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 */