Browse Source

tracing: fix typo and missing inline function

Impact: fix build bugs

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 năm trước cách đây
mục cha
commit
6b2539302b
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      kernel/trace/trace.h

+ 5 - 1
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 */