aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/asm-riscv/unistd.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2023-07-09 23:23:08 +0200
committerCédric Le Goater <clg@redhat.com>2023-07-10 09:52:52 +0200
commitd0bf492f3877d4187d2f7d0c0abb3a2bf3104392 (patch)
treeeadabad28d572a4711b26e5ab63e0114c3f751bf /linux-headers/asm-riscv/unistd.h
parent8af87a3ec7e42ff1b9cf75ceee0451c31e34d153 (diff)
downloadqemu-d0bf492f3877d4187d2f7d0c0abb3a2bf3104392.zip
qemu-d0bf492f3877d4187d2f7d0c0abb3a2bf3104392.tar.gz
qemu-d0bf492f3877d4187d2f7d0c0abb3a2bf3104392.tar.bz2
linux-headers: update to v6.5-rc1
Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'linux-headers/asm-riscv/unistd.h')
-rw-r--r--linux-headers/asm-riscv/unistd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-headers/asm-riscv/unistd.h b/linux-headers/asm-riscv/unistd.h
index 73d7cdd..950ab3f 100644
--- a/linux-headers/asm-riscv/unistd.h
+++ b/linux-headers/asm-riscv/unistd.h
@@ -43,3 +43,12 @@
#define __NR_riscv_flush_icache (__NR_arch_specific_syscall + 15)
#endif
__SYSCALL(__NR_riscv_flush_icache, sys_riscv_flush_icache)
+
+/*
+ * Allows userspace to query the kernel for CPU architecture and
+ * microarchitecture details across a given set of CPUs.
+ */
+#ifndef __NR_riscv_hwprobe
+#define __NR_riscv_hwprobe (__NR_arch_specific_syscall + 14)
+#endif
+__SYSCALL(__NR_riscv_hwprobe, sys_riscv_hwprobe)