diff options
author | 2021-06-17 17:39:07 +0200 | |
---|---|---|
committer | 2021-06-23 01:14:05 +0700 | |
commit | 7956ae7b8861d37dfa9856b786a8c5bc5ded5223 (patch) | |
tree | ecfda97b6deb799e0ce37f6c776debfd3784db8f /system/nvidia-legacy340-kernel/patches/0005-kernel-5.11.patch | |
parent | c251ff3cbfce7fa49f6216b157f83e3b43fdb12e (diff) | |
download | slackbuilds-7956ae7b8861d37dfa9856b786a8c5bc5ded5223.tar.gz slackbuilds-7956ae7b8861d37dfa9856b786a8c5bc5ded5223.tar.xz |
system/nvidia-legacy340-kernel: Patch for the newer kernels.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r-- | system/nvidia-legacy340-kernel/patches/0005-kernel-5.11.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/system/nvidia-legacy340-kernel/patches/0005-kernel-5.11.patch b/system/nvidia-legacy340-kernel/patches/0005-kernel-5.11.patch new file mode 100644 index 0000000000..f401d98ce3 --- /dev/null +++ b/system/nvidia-legacy340-kernel/patches/0005-kernel-5.11.patch @@ -0,0 +1,25 @@ + +diff -Naur NVIDIA-Linux-x86_64-340.108-old/kernel/nv-linux.h NVIDIA-Linux-x86_64-340.108-new/kernel/nv-linux.h +--- NVIDIA-Linux-x86_64-340.108-old/kernel/nv-linux.h 2021-02-23 20:01:52.429999710 +0100 ++++ NVIDIA-Linux-x86_64-340.108-new/kernel/nv-linux.h 2021-02-23 14:48:00.163333638 +0100 +@@ -119,7 +119,7 @@ + #include <asm/tlbflush.h> /* flush_tlb(), flush_tlb_all() */ + #include <linux/cpu.h> /* CPU hotplug support */ + #endif +-#include <asm/kmap_types.h> /* page table entry lookup */ ++//#include <asm/kmap_types.h> /* page table entry lookup */ + + #include <linux/pci.h> /* pci_find_class, etc */ + #include <linux/interrupt.h> /* tasklets, interrupt helpers */ +--- a/kernel/uvm/nvidia_uvm_linux.h 2019-12-11 17:04:24.000000000 -0500 ++++ b/kernel/uvm/nvidia_uvm_linux.h 2021-02-24 06:26:26.237367942 -0500 +@@ -141,7 +141,7 @@ + #if !defined(NV_VMWARE) + #include <asm/tlbflush.h> /* flush_tlb(), flush_tlb_all() */ + #endif +-#include <asm/kmap_types.h> /* page table entry lookup */ ++//#include <asm/kmap_types.h> /* page table entry lookup */ + + #include <linux/interrupt.h> /* tasklets, interrupt helpers */ + #include <linux/timer.h> + |