summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/util/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/x86/util/unwind.c')
-rw-r--r--tools/perf/arch/x86/util/unwind.c4
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 @@
#include "perf_regs.h"
#include "../../util/unwind.h"
-#ifdef ARCH_X86_64
+#ifdef HAVE_ARCH_X86_64_SUPPORT
int unwind__arch_reg_id(int regnum)
{
int id;
@@ -108,4 +108,4 @@ int unwind__arch_reg_id(int regnum)
return id;
}
-#endif /* ARCH_X86_64 */
+#endif /* HAVE_ARCH_X86_64_SUPPORT */