Skip to content

Commit 96b1ae8

Browse files
committed
[compiler-rt][RISCV][NFC] Add link to kernel documenation on hwprobe interface
Makes it a little easier for future reviewers/maintainers.
1 parent 7645a76 commit 96b1ae8

File tree

1 file changed

+3
-0
lines changed
  • compiler-rt/lib/builtins/cpu_model

1 file changed

+3
-0
lines changed

compiler-rt/lib/builtins/cpu_model/riscv.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ struct {
108108

109109
#if defined(__linux__)
110110

111+
// The RISC-V hwprobe interface is documented here:
112+
// <https://docs.kernel.org/arch/riscv/hwprobe.html>.
113+
111114
static long syscall_impl_5_args(long number, long arg1, long arg2, long arg3,
112115
long arg4, long arg5) {
113116
register long a7 __asm__("a7") = number;

0 commit comments

Comments
 (0)