From 5c44ecd24c80b15a32381148ecb923a6ed313f89 Mon Sep 17 00:00:00 2001 From: Gergely Szell Date: Sun, 20 Jul 2025 10:03:55 +0200 Subject: [PATCH 2/2] Update gasket_page_table.c: Fix MODULE_IMPORT_NS --- src/gasket_page_table.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gasket_page_table.c b/src/gasket_page_table.c index c9067cb..1c4705e 100644 --- a/src/gasket_page_table.c +++ b/src/gasket_page_table.c @@ -54,8 +54,12 @@ #include #if __has_include() +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0) MODULE_IMPORT_NS(DMA_BUF); -#endif +#else +MODULE_IMPORT_NS("DMA_BUF"); +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0) */ +#endif /* __has_include() */ #include "gasket_constants.h" #include "gasket_core.h" -- 2.50.1