summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-03 06:35:44 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-03 06:35:44 -0700
commit35e3ade0fe63f5149e07024ee31a02ac14d2dde7 (patch)
tree053b64f882d7e32b955b561c1d14fc4937391090
parentf89cfed7d28f76e99ee7520d6d350b9847fab07c (diff)
parentdeda87e3db9d0a88e493f33f38d80b9e432ee3b8 (diff)
downloadfio-35e3ade0fe63f5149e07024ee31a02ac14d2dde7.tar.gz
fio-35e3ade0fe63f5149e07024ee31a02ac14d2dde7.tar.bz2
Merge branch 'master' of https://github.com/aphreet/fio
* 'master' of https://github.com/aphreet/fio: Enable io_uring engine on powerpc arch
-rw-r--r--arch/arch-ppc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arch-ppc.h b/arch/arch-ppc.h
index 804d596a..46246bae 100644
--- a/arch/arch-ppc.h
+++ b/arch/arch-ppc.h
@@ -24,6 +24,18 @@
#define PPC_CNTLZL "cntlzw"
#endif
+#define ARCH_HAVE_IOURING
+
+#ifndef __NR_sys_io_uring_setup
+#define __NR_sys_io_uring_setup 425
+#endif
+#ifndef __NR_sys_io_uring_enter
+#define __NR_sys_io_uring_enter 426
+#endif
+#ifndef __NR_sys_io_uring_register
+#define __NR_sys_io_uring_register 427
+#endif
+
static inline int __ilog2(unsigned long bitmask)
{
int lz;