summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/seccomp-syscalls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h
index d7eb383..2a4ebd3 100644
--- a/include/seccomp-syscalls.h
+++ b/include/seccomp-syscalls.h
@@ -274,6 +274,7 @@
#define __PNR_utimensat_time64 -10240
#define __PNR_ppoll -10241
#define __PNR_renameat -10242
+#define __PNR_riscv_flush_icache -10243
/*
* libseccomp syscall definitions
@@ -1507,6 +1508,12 @@
#define __SNR_restart_syscall __NR_restart_syscall
+#ifdef __NR_riscv_flush_icache
+#define __SNR_riscv_flush_icache __NR_riscv_flush_icache
+#else
+#define __SNR_riscv_flush_icache __PNR_riscv_flush_icache
+#endif
+
#ifdef __NR_rmdir
#define __SNR_rmdir __NR_rmdir
#else