summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/perf-regs-arch/perf_regs_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/perf-regs-arch/perf_regs_x86.c')
-rw-r--r--tools/perf/util/perf-regs-arch/perf_regs_x86.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/perf-regs-arch/perf_regs_x86.c b/tools/perf/util/perf-regs-arch/perf_regs_x86.c
index 873c620f06..708954a9d3 100644
--- a/tools/perf/util/perf-regs-arch/perf_regs_x86.c
+++ b/tools/perf/util/perf-regs-arch/perf_regs_x86.c
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-#ifdef HAVE_PERF_REGS_SUPPORT
-
#include "../perf_regs.h"
#include "../../../arch/x86/include/uapi/asm/perf_regs.h"
@@ -94,5 +92,3 @@ uint64_t __perf_reg_sp_x86(void)
{
return PERF_REG_X86_SP;
}
-
-#endif