summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/perf-regs-arch/perf_regs_loongarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/perf-regs-arch/perf_regs_loongarch.c')
-rw-r--r--tools/perf/util/perf-regs-arch/perf_regs_loongarch.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/util/perf-regs-arch/perf_regs_loongarch.c b/tools/perf/util/perf-regs-arch/perf_regs_loongarch.c
index a9ba0f9341..043f97f4e3 100644
--- a/tools/perf/util/perf-regs-arch/perf_regs_loongarch.c
+++ b/tools/perf/util/perf-regs-arch/perf_regs_loongarch.c
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-#ifdef HAVE_PERF_REGS_SUPPORT
-
#include "../perf_regs.h"
#include "../../../arch/loongarch/include/uapi/asm/perf_regs.h"
@@ -87,5 +85,3 @@ uint64_t __perf_reg_sp_loongarch(void)
{
return PERF_REG_LOONGARCH_R3;
}
-
-#endif