![](https://seccdn.libravatar.org/avatar/a7bcbbdadbe98519ce41f733dc441577.jpg?s=120&d=mm&r=g)
On 3/13/21 7:58 AM, Matthew wrote:
# 118 | #include <asm/kmap_types.h> /* page table entry lookup */ # | ^~~~~~~~~~~~~~~~~~
That header file can be ignored. The patch file I found has the snippet diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h index 0d7e516..dae9c09 100644 --- a/kernel/common/inc/nv-linux.h +++ b/kernel/common/inc/nv-linux.h @@ -115,7 +115,9 @@ #include <linux/moduleparam.h> /* module_param() */ #include <asm/tlbflush.h> /* flush_tlb(), flush_tlb_all() */ +#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)) #include <asm/kmap_types.h> /* page table entry lookup */ +#endif #include <linux/pci.h> /* pci_find_class, etc */ #include <linux/interrupt.h> /* tasklets, interrupt helpers */ The entire patch for kernel 5.11, and the one for 5.12 are attached. Larry