summaryrefslogtreecommitdiffstats
path: root/system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch')
-rw-r--r--system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch b/system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch
new file mode 100644
index 0000000000..702c9c2786
--- /dev/null
+++ b/system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch
@@ -0,0 +1,23 @@
+diff --git a/kernel/nvidia-uvm/uvm_common.c b/kernel/nvidia-uvm/uvm_common.c
+index 0f4516a..9e9811e 100644
+--- a/kernel/nvidia-uvm/uvm_common.c
++++ b/kernel/nvidia-uvm/uvm_common.c
+@@ -379,5 +379,5 @@ module_param(uvm_enable_builtin_tests, int, S_IRUGO);
+ MODULE_PARM_DESC(uvm_enable_builtin_tests,
+ "Enable the UVM built-in tests. (This is a security risk)");
+
+-MODULE_LICENSE("MIT");
++MODULE_LICENSE("GPL");
+ MODULE_INFO(supported, "external");
+diff --git a/kernel/nvidia-uvm/uvm_unsupported.c b/kernel/nvidia-uvm/uvm_unsupported.c
+index 0419121..1ccd1f4 100644
+--- a/kernel/nvidia-uvm/uvm_unsupported.c
++++ b/kernel/nvidia-uvm/uvm_unsupported.c
+@@ -171,6 +171,6 @@ static void __exit uvm_unsupported_exit(void)
+ module_init(uvm_unsupported_module_init);
+ module_exit(uvm_unsupported_exit);
+
+-MODULE_LICENSE("MIT");
++MODULE_LICENSE("GPL");
+ MODULE_INFO(supported, "external");
+