aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/ftrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 0d5bcf69952..f1e9e5c74e6 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -27,6 +27,8 @@
27#include <linux/hash.h> 27#include <linux/hash.h>
28#include <linux/list.h> 28#include <linux/list.h>
29 29
30#include <asm/ftrace.h>
31
30#include "trace.h" 32#include "trace.h"
31 33
32/* ftrace_enabled is a method to turn ftrace on or off */ 34/* ftrace_enabled is a method to turn ftrace on or off */
@@ -329,7 +331,6 @@ ftrace_record_ip(unsigned long ip)
329} 331}
330 332
331#define FTRACE_ADDR ((long)(ftrace_caller)) 333#define FTRACE_ADDR ((long)(ftrace_caller))
332#define MCOUNT_ADDR ((long)(mcount))
333 334
334static int 335static int
335__ftrace_replace_code(struct dyn_ftrace *rec, 336__ftrace_replace_code(struct dyn_ftrace *rec,