summarylogtreecommitdiffstats
path: root/0002-linux-rt.patch
blob: 72271121a37faa090fe172e4a55e104d50ac6e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From d678bd8e0594a4ff7749f6b4f79ff9d4958f420c Mon Sep 17 00:00:00 2001
From: Cabopust <cabopust@yandex.ru>
Date: Tue, 26 Jan 2021 20:18:58 +0300
Subject: [PATCH] Fixing compatibility with the RT kernel

---
 kernel/dkms.conf   | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/dkms.conf b/kernel/dkms.conf
index 877a01b..26657c3 100644
--- a/kernel/dkms.conf
+++ b/kernel/dkms.conf
@@ -6,7 +6,7 @@ AUTOINSTALL="yes"
 # this will cause the kernel module build to infer that it was invoked via
 # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
 # the 'make' command name to suppress this behavior.
-MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
+MAKE[0]="'make' -j`nproc` IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
 
 # The list of kernel modules will be generated by nvidia-installer at runtime.
 BUILT_MODULE_NAME[0]="nvidia"
-- 
2.30.0