projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89cfed
)
Enable io_uring engine on powerpc arch
author
Mikhail Malygin
<mikhail@malygin.me>
Sun, 3 Nov 2019 09:53:12 +0000
(09:53 +0000)
committer
Mikhail Malygin
<mikhail@malygin.me>
Sun, 3 Nov 2019 09:56:02 +0000
(09:56 +0000)
Signed-off-by: Mikhail Malygin <mikhail@malygin.me>
arch/arch-ppc.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arch-ppc.h
b/arch/arch-ppc.h
index 804d596aecc632cb27f547c90a5b2b997ef79b42..46246baeec1bd69ea8e217b926d5c501541b017e 100644
(file)
--- 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;