Patch5: kernel-6.4.patch
Patch6: kernel-6.5-garbage-collect-all-references-to-get_user.patch
Patch7: kernel-6.5-handle-get_user_pages-vmas-argument-remova.patch
+Patch8: kernel-6.5-handle-get_user_pages-vmas-argument-removal-x8664.patch
URL: https://www.nvidia.com/en-us/drivers/unix/
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.752
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%ifarch %{x8664}
+%patch8 -p1
+%endif
echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
%build