diff options
Diffstat (limited to 'tools/perf/arch/x86/util/unwind.c')
-rw-r--r-- | tools/perf/arch/x86/util/unwind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/arch/x86/util/unwind.c b/tools/perf/arch/x86/util/unwind.c index 78d956eff96f..456a88cf5b37 100644 --- a/tools/perf/arch/x86/util/unwind.c +++ b/tools/perf/arch/x86/util/unwind.c | |||
@@ -4,7 +4,7 @@ | |||
4 | #include "perf_regs.h" | 4 | #include "perf_regs.h" |
5 | #include "../../util/unwind.h" | 5 | #include "../../util/unwind.h" |
6 | 6 | ||
7 | #ifdef ARCH_X86_64 | 7 | #ifdef HAVE_ARCH_X86_64_SUPPORT |
8 | int unwind__arch_reg_id(int regnum) | 8 | int unwind__arch_reg_id(int regnum) |
9 | { | 9 | { |
10 | int id; | 10 | int id; |
@@ -108,4 +108,4 @@ int unwind__arch_reg_id(int regnum) | |||
108 | 108 | ||
109 | return id; | 109 | return id; |
110 | } | 110 | } |
111 | #endif /* ARCH_X86_64 */ | 111 | #endif /* HAVE_ARCH_X86_64_SUPPORT */ |