From deda87e3db9d0a88e493f33f38d80b9e432ee3b8 Mon Sep 17 00:00:00 2001 From: Mikhail Malygin Date: Sun, 3 Nov 2019 09:53:12 +0000 Subject: [PATCH] Enable io_uring engine on powerpc arch Signed-off-by: Mikhail Malygin --- arch/arch-ppc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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; -- 2.25.1