diff options
author | Cédric Le Goater <clg@redhat.com> | 2023-07-09 23:23:08 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-07-10 09:52:52 +0200 |
commit | d0bf492f3877d4187d2f7d0c0abb3a2bf3104392 (patch) | |
tree | eadabad28d572a4711b26e5ab63e0114c3f751bf /linux-headers/asm-riscv/unistd.h | |
parent | 8af87a3ec7e42ff1b9cf75ceee0451c31e34d153 (diff) | |
download | qemu-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.h | 9 |
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) |