NVIDIA – Driver Fix, for Kernel 4.0. and Earlier..
I have hacked together a kernel-version-friendly fix for the latest NVIDIA driver (346.35) which works with Kernel 4.0-rc1 (and later) and also for previous kernel versions.. Thanks are due to juston_li for producing the actual code changes needed.. https://devtalk.nvidia.com/default/topic/813458/linux/linux-4-0-rc1-346-35-build-error-_cr4-functions-fix/ Unpack the NVIDIA driver: ./NVIDIA-Linux-x86_64-346.35.run -x Edit NVIDIA-Linux-x86_64-346.35/kernel/nv-pat.c Around line 34, change { unsigned long cr0 = read_cr0(); … Continue reading →