Skip to content
Snippets Groups Projects
Commit aa3e49b6 authored by Will Deacon's avatar Will Deacon
Browse files

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: cbb0c02c ("perf: arm64: Add SVE vector granule register to user regs")
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 1f2906d1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment