kni: fix build with Linux 5.9
[dpdk.git] / kernel / linux / kni / compat.h
index 9ee45db..d515b27 100644 (file)
 #if KERNEL_VERSION(5, 6, 0) <= LINUX_VERSION_CODE
 #define HAVE_TX_TIMEOUT_TXQUEUE
 #endif
+
+#if KERNEL_VERSION(5, 9, 0) > LINUX_VERSION_CODE
+#define HAVE_TSK_IN_GUP
+#endif