diff options
author | Will Deacon <will@kernel.org> | 2022-09-22 22:11:10 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-09-22 22:15:33 +0100 |
commit | aa3e49b606e0796aa766ded2fb7b8c2d36d7cf2f (patch) | |
tree | 0e4250c4244e936fc45170078e759d6223317b7e | |
parent | 1f2906d1e10ac8b63f06c10b0db4282b8b38c509 (diff) |
arm64: asm/perf_regs.h: Avoid C++-style comment in UAPI header
An arm64 'allmodconfig' build fails with GCC due to use of a C++-style
comment for the new SVE vector granule 'enum perf_event_arm_regs' entry:
| /usr/include/asm/perf_regs.h:42:26: error: C++ style comments are not allowed in ISO C90
Use good ol' /* */ comment syntax to keep things rosey.
Link: https://lore.kernel.org/r/632cceb2.170a0220.599ec.0a3a@mx.google.com
Fixes: cbb0c02caf4b ("perf: arm64: Add SVE vector granule register to user regs")
Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r-- | arch/arm64/include/uapi/asm/perf_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/uapi/asm/perf_regs.h b/arch/arm64/include/uapi/asm/perf_regs.h index 0d4b40c78e47..86e556429e0e 100644 --- a/arch/arm64/include/uapi/asm/perf_regs.h +++ b/arch/arm64/include/uapi/asm/perf_regs.h @@ -39,7 +39,7 @@ enum perf_event_arm_regs { PERF_REG_ARM64_MAX, /* Extended/pseudo registers */ - PERF_REG_ARM64_VG = 46, // SVE Vector Granule + PERF_REG_ARM64_VG = 46, /* SVE Vector Granule */ PERF_REG_ARM64_EXTENDED_MAX }; |