summaryrefslogtreecommitdiff
path: root/tools/perf/util/branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/branch.c')
-rw-r--r--tools/perf/util/branch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/branch.c b/tools/perf/util/branch.c
index 02d6d839ff24..30642e1f2b1b 100644
--- a/tools/perf/util/branch.c
+++ b/tools/perf/util/branch.c
@@ -1,6 +1,7 @@
#include "util/util.h"
#include "util/debug.h"
#include "util/branch.h"
+#include <linux/kernel.h>
static bool cross_area(u64 addr1, u64 addr2, int size)
{