This Comment Has Been Nuked
bgl said:There was a change in linux-3.11.1/include/linux/mm.h that broke the 325.15 driver. It doesn't look very hard to fix but I haven't actually tried to, as I can live with linux-3.10.11 for the time being. Hope to see a driver update from NVidia before long; they've been fairly prompt at catching up to linux kernel changes...
@@ -957,7 +957,11 @@ static inline int nv_execute_on_all_cpus
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
+#define NV_NUM_PHYSPAGES get_num_physpages()
#define NV_NUM_PHYSPAGES num_physpages
#define NV_GET_CURRENT_PROCESS() current->tgid
#define NV_IN_ATOMIC() in_atomic()
#define NV_LOCAL_BH_DISABLE() local_bh_disable()
leigh123linux said:Here's a cleaner patch
Milos_SD said:sh NVIDIA-Linux-x86_64-325.15.run --apply-patch kernel_3.11.patch
This will work if you have drivar and a patch in a same directory, and if you named the patch file: kernel_3.11.patch
And if it askes you what file to patch, you just write this: kernel/nv-linux.h and press ENTER.
You must Log In to send a PM.
Please Log In | Register to add a comment.
Not a member? Register Now