mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-11-16 21:26:16 +00:00
801ee3500c
* not needed on 460.39 anymore * add 5.11 patch for older drivers * fix nesting * 5.11 vkdev
15 lines
645 B
Diff
15 lines
645 B
Diff
diff --git a/kernel-dkms/common/inc/nv-linux.h b/kernel-dkms/common/inc/nv-linux.h
|
|
index db9706d..3ee157e 100644
|
|
--- a/kernel-dkms/common/inc/nv-linux.h
|
|
+++ b/kernel-dkms/common/inc/nv-linux.h
|
|
@@ -117,7 +117,9 @@
|
|
|
|
#include <linux/moduleparam.h> /* module_param() */
|
|
#include <asm/tlbflush.h> /* flush_tlb(), flush_tlb_all() */
|
|
+#if defined(NV_ASM_KMAP_TYPES_H_PRESENT)
|
|
#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 */
|