summaryrefslogtreecommitdiff
path: root/tools/perf/util/dwarf-regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/dwarf-regs.c')
-rw-r--r--tools/perf/util/dwarf-regs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/dwarf-regs.c b/tools/perf/util/dwarf-regs.c
index 62bc4a86a970..c708395b3cb6 100644
--- a/tools/perf/util/dwarf-regs.c
+++ b/tools/perf/util/dwarf-regs.c
@@ -8,6 +8,7 @@
#include <debug.h>
#include <dwarf-regs.h>
#include <elf.h>
+#include <linux/kernel.h>
#ifndef EM_AARCH64
#define EM_AARCH64 183 /* ARM 64 bit */