RISC-V: Move the hwprobe syscall to its own file
authorAndrew Jones <ajones@ventanamicro.com>
Wed, 22 Nov 2023 16:47:03 +0000 (17:47 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 3 Jan 2024 11:36:48 +0000 (03:36 -0800)
commit53b2b22850e1ff9e2729ce8efe2d846ed7d3bff4
tree305c974293d638943d45ab2f06f3a2c2a1ff48a2
parent36d842d654beba970e74ff0f6016c93623b82d37
RISC-V: Move the hwprobe syscall to its own file

As Palmer says, hwprobe is "sort of its own thing now, and it's only
going to get bigger..."

Suggested-by: Palmer Dabbelt <palmer@dabbelt.com>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231122164700.127954-8-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/Makefile
arch/riscv/kernel/sys_hwprobe.c [new file with mode: 0644]
arch/riscv/kernel/sys_riscv.c