Account for close_fd renaming backport to 5.10.220
PATCH 1/1 Account for close_fd renaming backport to 5.10.220
From: Jan Kiszka <[email protected]>
Signed-off-by Jan Kiszka <[email protected]>
--- kernel/cobalt/include/asm-generic/xenomai/wrappers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
kernel/cobalt/include/asm-generic/xenomai/wrappers.h +3 -1
@@ -50,7 +50,9 @@ }#endif -#if LINUX_VERSION_CODE <KERNEL_VERSION (5 ,14 ,0 ) +#if LINUX_VERSION_CODE <KERNEL_VERSION (5 ,14 ,0 ) && \ + (LINUX_VERSION_CODE >=KERNEL_VERSION (5 ,11 ,0 ) || \ +LINUX_VERSION_CODE <KERNEL_VERSION (5 ,10 ,220 ))#define close_fd (__ufd) __close_fd(current->files, __ufd)#endif
Signature · 1 line
2.43.0