[packages/xorg-driver-video-nvidia-legacy-390xx] add missing include to fix build with kernel 6.6
atler
atler at pld-linux.org
Wed Feb 18 18:50:25 CET 2026
commit e03509ac8a6a9f266a18270bc22a7ae223cd441d
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Feb 18 18:48:30 2026 +0100
add missing include to fix build with kernel 6.6
linux/preempt.h is actually required but this is how current
xorg-driver-video-nvidia gets it so let's follow it.
kernel-6.19.patch | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/kernel-6.19.patch b/kernel-6.19.patch
index beee67e..78c097a 100644
--- a/kernel-6.19.patch
+++ b/kernel-6.19.patch
@@ -58,8 +58,16 @@
return NV_FALSE;
#endif
--- NVIDIA-Linux-x86_64-390.157-no-compat32/kernel/common/inc/nv-time.h.orig 2022-10-12 11:30:26.000000000 +0200
-+++ NVIDIA-Linux-x86_64-390.157-no-compat32/kernel/common/inc/nv-time.h 2026-02-18 14:01:56.564016816 +0100
-@@ -36,6 +36,19 @@
++++ NVIDIA-Linux-x86_64-390.157-no-compat32/kernel/common/inc/nv-time.h 2026-02-18 18:45:08.405988097 +0100
+@@ -25,6 +25,7 @@
+
+ #include "conftest.h"
+
++#include <linux/sched.h>
+ #include <linux/time.h>
+ #if defined(NV_LINUX_KTIME_H_PRESENT)
+ #include <linux/ktime.h>
+@@ -36,6 +37,19 @@
typedef struct __kernel_old_timeval nv_timeval;
#endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-nvidia-legacy-390xx.git/commitdiff/e03509ac8a6a9f266a18270bc22a7ae223cd441d
More information about the pld-cvs-commit
mailing list